How can i count the list box elements in QTP ?using script
plz explain me (Chandana)
Answer Posted / sri satya
Hi
You can use this:
Count =Browser("title:abc").Page("title:abc").WebList
("name:=xyz").GetROProperty("items count")
msgbox Count
| Is This Answer Correct ? | 14 Yes | 6 No |
Post New Answer View All Answers
How to open a new test using quicktest professional?
Explain the parameter in qtp?
i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api
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
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
What is qtpro?
After executing the script in qtp suppose i found some script execute successfully and found some error.So how to report the status for both (i.e pass and fail report)in test director. For "fail" We use "defect tab" in testdirector. But for "pass" how to report it to TL.what is the process plz anybody ans
What is the difference between run time object and test object?
Explain process of smart Identification in QTP?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
Can any body please tell me the steps of keyword driven framework of QTP.
what type of run time errors you get while you ar edoing rpg program?
How can you handle exceptions in qtp?
what is keyword driven testing in qtp?n how is it useful?