If there are 100 checkboes in a page then how can we select 10th & 11th & 14th chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / vamshi
browser("title:=.*").page("title:=.*").webcheckbox("name:=.*","index:=9").set "on"
browser("title:=.*").page("title:=.*").webcheckbox("name:=.*","index:=10").set "on"
browser("title:=.*").page("title:=.*").webcheckbox("name:=.*","index:=13").set "on"
because index value starts from zero
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How can I use Call dlls in QTP ?
What is the pros and cons between QTP and Rational Robot
How software tester can use constants and variables in scripts?
In an interview, what r the general questions asked in QTP? pls give me anwser to this question?
What are the different ways to invoke an application using QTP?
What is a checkpoint? How many check points are there in qtp?
How we can import data from database?
Mention what are the different types of recording modes in qtp? Which will be used when?
What is the use of an object spy tool in qtp?
Hi all, I am using windows vista, I am in the process of learning QTP. When ever I try to work with insert mode in flight application , i am getting the error of 'Operation must use an update table query, fractional truncation(null) error. Can anyone help me regarding this?
What is recovery scenario in qtp?
Explain different recording modes?
What phases are involved in testing an application in qtp?
There are 10 rows in the datatable. How can we fetch 2 rows and then skip 3rd row. After that, pick 4th & 5th row and skip 6th row. Please share code
Explain the types of properties that quick test learns while recording?