If there are 100 checkboes in a page then how can we select all chexkboxes at once through descriptive programing in QTP using vb script.
Please send the answers...
Answer Posted / dinesh1433
for i=0 to 100
Browser("index:=0").page("index:=0").webcheckbox("index:="&i).set "on"
Next
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In qtp, how you can use xpath to identify objects?
Explain the concept of object repository & how qtp recognizes objects?
How many types of actions are there in quicktest professional (qtp)?
What are the two types of repositories available, explain them?
why text area checkpoints cannot used for web applications
Can the user toggle between using Local OR and shared OR for the same action?
How can get count of list box?
What is recovery scenario manager? When you go for recovery scenario manager?
What is the extension of QTP local Repository? If it is .mtr then what is .bdb extension stands for?
What is the keyword view and expert view in qtp?
What is fragmentation and paging?
Is it possible to refer the same object for referring more than one object that are of different class using the descriptive programming approach? Suppose my code is 'To create the object named as obj Set obj=Description.Create() 'To define the values obj("title").value="IE" obj("type").value="text" obj("html tag").value="INPUT" 'To set the value Browser("IE").Page("Yahoo").WebEdit(obj).Set "xyz" Can I refer the "obj" object for the three objects like Browser,page and webedit objects? If so how?
On the website, the protocol has been changed https: to https what you will do? Tell me your approach?
How u will do versioning in QTP?
Can any suggest me what is exposure testing?