Parametrization in QTP is a process of replacing all the constants within the test script into variables (parameters) so that we can reuse the same script with different sets of data.
Parametrization in QTP happens in 4 ways.
1. Database Parameters.
2. Action parameters.
3. Environment Parameters.
4. Random Parameters.
Database parameters can be set by Internal data sheet, External data sheet and Excel parameters.
What is Data Driven Testing in QTP 9.2?
Data driven testing is the process of passing huge sets of data into Application under test using a data sheet. The data sheet closely resembles to the excel spread sheet. The concept of data driven testing can be achieved using data table parametrization.
Let us look at how a Test in QTP is organized. A test has one or many actions and each action can have one or more functions. Now each action has one local object repository and a local data sheet, like wise all the actions have one local data sheet and local object repository but the entire test has one Global data sheet which all of these actions can have access. Look at the figure below.
What is a Data Table in QTP?
A data table is a combination of local data sheet and global data sheet. Every action has one local data sheet and local object repository but only one global data sheet for the entire test. There may be any number of actions for which that many number of local data sheets are created but for all these actions together has one global data sheet. All actions can access the global data sheet.
Every QTP test will have one global sheet. There is no action associated with a global sheet and global sheet can be accessed by all the actions within the test.
To work with the data table in QTP we make use of data table object. Data table is a utility object in QTP.
What is a Utility object in QTP?
Utility objects are the objects provided by the quick test library used to enhance our test scripts. Data table objects have design time data table and Run time data table.
The data table that exists during script design is the design time data table. The moment you click the run button we enter the run session then the design data table gets converted into run time data table and all the data table objects, properties and methods will be applicable only to the run time data table and the design time data table s not affected. Any manipulations during run time done are written in the run time data table.
Note: data table object is nothing but the run time data table.
Syntax
Data Table.value (parameterid, sheetid)
Example:
DataTable.Value(1,1)
DataTable.Value(2,1)
Window(“Flight Reservation”).WinCombo(“Fly From”).Select Data Table.Value(2,1)
To insert a value in the data table like the order number generated during inserting a order we write the script like this.
Ord_Num = Window(“Flight Reservation”).WinEdit(“Order No:”).GetROProperty(“text”)
Data Table.Value(5,1) = Ord_Num
What is Data Table Object in QTP?
Data table object is a utility object in QTP that points to the run time data table.
What is Value Property in QTP?
Value Property is the data table default property used to set or retrieve values from a specified parameter within the data table. Value property takes the parameter id and the sheet id as part of its syntax.
Data Table.value (parameterid, sheetid)
39 comments:
each definition helps me to more understand.
Software Testing Training in Chennai | Software Testing Training in Chennai | QTP Training in Chennai | Loadrunner Training in Chennai
SAS Training in Chennai
Thanks for sharing this informative blog. I did SAS Certification in Greens Technology at Adyar. This is really useful for me to make a bright career.
Pretty article! I found some useful information in your blog, it was awesome to read,
thanks for sharing this great content to my vision, keep sharing..
Greens Technologies In Chennai
Very nice articles really helpful for online trainings,thanks to sharing this useful information.
SAP Basis
SAP Bw Hana
SAP Fico
There are lots of information about latest technology and how to get trained in them, like Best Hadoop Training In Chennai in Chennai have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get trained in future technologies Hadoop Training in Chennai By the way you are running a great blog. Thanks for sharing this blogs..
hybernet is a framework Tool. If you are interested in hybernet training, our real time working.
Hibernate Training in Chennai,hibernate training in Chennai
It is really very helpful for us and I have gathered some important information from this blog.If anyone wants to Selenium Training in Chennai reach Greens Technology training and placement academy.
selenium Training in Chennai
This is my first time visit on your site and i have bookmark this for again visit. thanks a lot of for share a appreciable post ..
sas online training
Hey,Thank you for sharing such an amazing and informative post. Really enjoyed reading it.
Function Point Estimation Training in Chennai
Latest Indian Govt Jobs 2016 Notification
Clear explanation........ Great job author, Thanks for sharing this information. Keep sharing your views...........
Assam 2564 Police Constable Recruitment 2016
The information provided was extremely useful and informative. Thanks a lot for useful stuff............
I have read your blog, it was good to read & I am getting some useful info's through your blog keep sharing... Informatica is an ETL tools helps to transform your old business leads into new vision. Learn informatica training in Chennai from corporate professionals with very good experience in informatica tool.
Regards,
Informatica training in chennai|Best Informatica Training In Chennai|Informatica training center in Chennai|Fita Chennai reviews
We provides focus and result-oriented training session, which equipped you with skill to getting best career option in the industries. We offered basic to advance level Software testing training in Chennai.
We provides focus and result-oriented training session, which equipped you with skill to getting best career option in the industries. We offered basic to advance level Software testing training in Chennai.
Thanks for post this useful informative article to our knowledge, Actually nowadays Software Testing Training in chennai utilized in many
organizations for their business activities it has great scope in future.
Today we are living in the Modern Data World. Yes, “SOFTWARE TESTING” is Very important in the real time world to find the defects made in the development phase. Software testing helps to grow your business in a better way.
Software testing training in Chennai
It is the best article to read this information.good topic to discuss this article.I am very enjoy to read this information.It is to get the inspiration for me to go to the next level.
android training in chennai
very informative blog. Helps to gain knowledge about new concepts and techniques. Thanks for posting information in this blog
cloud computing training in Chennai
Great article...
Informatica training, in the recent times has acquired a wide scope of popularity amongst the youngsters at the forefront of their career.
Informatica online training in hyderabad
nice posts..
hadoop online training in
hyderabad
Parametrization in QTP happens in 4 way is useful content for students in parametrization.http://bigclasses.com/microstrategy-online-training.html
Great post.I'm glad to see people are still interested of Article.Thank you for an interesting read...
Function Point Estimation Training
This is excellent article. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me,very interesting to read..You have provided an nice article.
java training courses
Thank you for sharing such valuable information and tips. This can give insights and inspirations for us; very helpful and informative! Would love to see more updates from you in the future.
Qtp classes in chennai
qtp training institute in chennai with placement
Best Loadrunner training institute in chennai
Loadrunner training institute in Chennai
software testing selenium training
selenium training in chennai
I am obliged to you for sharing this piece of information here and updating us with your resourceful guidance. Hope this might benefit many learners. Keep sharing this gainful articles and continue updating us.
PHP Training in Chennai
PHP Course in Chennai
PHP Training Institute in Chennai
PHP course
PHP Training
good work done and keep update more.i like your information's and
that is very much useful for readers.
Cloud computing Training institutes in Bangalore
Cloud Computing Training in Mogappair
Cloud Computing Training in Nungambakkam
Cloud Computing Training in Karapakkam
Nice post. I learned some new information. Thanks for sharing.
Guest posting sites
Technology
I really enjoy the blog.Much thanks again. Really Great.
Big Data Hadoop Training in chennai Velachery
Big Data Hadoop Training in Tnagar
Big Data Hadoop Training in Nungambakkam
Big Data Hadoop Training in navalur
Big Data Hadoop Training in kelambakkam
Big Data Hadoop Training in karappakkam
Nice post. By reading your blog, i get inspired and this provides some useful information. Thank you for posting.
Photoshop Training Classes in Chennai
Best Photoshop Training in Chennai
Photoshop Course Training in Chennai
Photoshop Course
Photoshop Classes
Photoshop Training
Photoshop Classes for Photographers
One of the best blogs that I have read till now. Thanks for your contribution in sharing such a useful information.
Spoken English Classes in Anna Nagar
Spoken English Classes in Perambur
Spoken English Classes in Ayanavaram
Spoken English Classes in Anna Nagar West
Spoken English Class in Mogappair
Spoken English Anna Nagar Chennai
Spoken English Class Anna Nagar
Spoken English Classes near me
I have to thank for sharing this blog, it is really helpful and I learned a lot from your blog.
Data Science Training in Aminjikarai
Data Science Training in Velachery
Data Science Training in Chennai Velachery
Data Science Training in Tnagar
Data Science Training in Vadapalani
Data Science Training in Chennai
I found some useful information in your blog. It is really useful for me. Thank you for sharing with us.
Oracle DBA Training in Chennai | Oracle DBA Course in Chennai | Best Oracle DBA Training in Chennai | Oracle DBA Training in Adyar | Oracle DBA Training in Velachery | Oracle DBA Training in Tambaram
This tutorials are really helpful admin, I have bookmarked this page for my reference. Keep sharing more like this.
ccna Training in Chennai
ccna Training near me
ccna course in Chennai
RPA Training in Chennai
AWS Training in Chennai
DevOps Training in Chennai
Thanks for sharing the fantabulous post. It gives immense pleasure to read your article. Your post is very thought provoking.
Pega training institutes
Pega training courses
Pega administrator training
Pega testing training
Pega software training
Pega software course
Pega training in Velachery
Awesome post! I really admire the way you've written the article. Keep us updated with more such posts.
WordPress Training in Chennai
WordPress Course in Chennai
VMware Training in Chennai
Spark Training in Chennai
Placement Training in Chennai
Unix Training in Chennai
Mobile Testing Training in Chennai
Hey Nice Blog!! Thanks For Sharing!!!Wonderful blog & good post.Its really helpful for me, waiting for a more new post. Keep Blogging!
SEO company in coimbatore
SEO Service in Coimbatore
web design company in coimbatore
It was a very good experience,Faculty members are very knowledgeable and cooperative. Specially My trainer teaching more as he focused upon practical rather than theory. All together it was an enlightening and informative course.
cloud computing training institutes in bangalore
cloud computing training in bangalore
best cloud computing training institutes in bangalore
cloud computing training course content
cloud computing training interview questions
cloud computing training & placement in bangalore
cloud computing training center in bangalore
Thanks For sharing a nice post about sap abap Training Course.It is very helpful and sap abap useful for us. oracle training in chennai
This post is much helpful for us. This is really very massive value to all the readers and it will be the only reason for the post to get popular with great authority.
Cyber Security Training Course in Chennai | Certification | Cyber Security Online Training Course | Ethical Hacking Training Course in Chennai | Certification | Ethical Hacking Online Training Course | CCNA Training Course in Chennai | Certification | CCNA Online Training Course | RPA Robotic Process Automation Training Course in Chennai | Certification | RPA Training Course Chennai | SEO Training in Chennai | Certification | SEO Online Training Course
Post a Comment