How we wil do data driven test using chkpts?
Plz. give me complete navigation steps for this?
Answer Posted / nath .t
Data Driven Test Means we can test application with
multiple test data. there are 3 types of ddt.
1. Dynamic Data Submission
2. Data Table
3. From Front Grids
1. Dynamic Data Submission: Here ur interaction is there
at the time of test execution. u follow below steps
un = inputbox("Enter the user name")
here un is variable to store the user name
u can give the variable where u want to insert
(i.e., window("login").winedit("user name").set un)
2. Data Table: We can send data from excel sheet here ur
interaction is not here.
u must take the value from data table. u follow below
navigation.
Navigation: Goto KeyWord View
where u want parameterize u Select Value column of that
object
press right corner of that select column it will shows
value properties dialog box here u can select Parameter
option and take Datatable option and select required
parameter.
(i.e., window("login").winedit("user name").set datatable
("username","dtGlobalSheet"))
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is text area check point supports for web applications?
How to delete an object from the object repository?
Where is the Bitmap checkpoint information stored?
How to give a call to another action from one action?
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
How to build scripts that access data from external sources?
How to execute a winrunner script in quicktest professional?
How to suppress warnings from the test results page?
i'm testing the webpage with QTP, in this wabpage i have to choose the CV from the window, but QTP can't recognize the object, so i used the Low LEvel Recording, but every time i run the test, QTP go to halt when it gets to the Recorded part, any solution for that?( except puting delay in the script and manuall selecting, because i've did that)
when I try to run below script in QTP "totalPages" value is 2. But i am getting error message (Type mismatch: 'totalPages' Line (): "For i=1 to totalPages".) totalPages=Browser("Name:=User").Page("Title:=User").WebElem ent("innertext:=of.*").GetROProperty("InnerText") msgbox totalPages For i=1 to totalPages rnum=Browser("Name:=User").Page("Title:=User").WebTa ble("column names:=User Name;ID;Last Name;First Name").GetRowWithCellText("store4") If rnum>0 Then r=rnum Exit for End If Browser("Name:=User").Page("Title:=User").WebElement ("html tag:=A","x:=471").Click MsgBox "Exit" Next
What is checkpoints for qtp?
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
What is qtp window?
Hi I am new to QTP. can u please answer to my qus... suppose 3 excel sheets are there * we are trying to check for login credentials for a page. userid from excel1 , password is from excel2 whether the page is opened or not that checkpoint is result is should be stored in excel 3.... this qus i have faced in IBM technical round... please tell script for above query ... please please
How to integrate QTP with QC using VB Scripting? What are the prerequisites to connect with QC?