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 / veeru
Below code saves sometime
set ocheck=description.create
ocheck("micclass").value="WebCheckbox"
set objCheckboxes = browser("Creationtime:=0").page("micclass:=page").childobjects(ocheck)
objCheckboxes(9).Set "ON"
objCheckboxes(10).Set "ON"
objCheckboxes(13).Set "ON"
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
after click on compose mail how can we attached a file in qtp with vbscript code
What is accessibility check point?
For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?
what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent
What are the different attribute used with regular expression?
What is the difference between per-action and shared?
How to test results for qtp ?
What are the different ways to invoke an application using QTP?
how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me
Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..
How can you identify the browser and its information using QTP script?
What will be happen if i load object repository at run time, but it has already associated.
Explain process of smart Identification in QTP?
How to create scenario selector
How to connect the remote desktop using QTP 9.2 explain the method or procedure?