How can i count the list box elements in QTP ?using script
plz explain me (Chandana)
Answers were Sorted based on User's Feedback
Answer / pbre
hi you can try this one
a = browser("SCP").Page("SCP").WebList("ctl00
For i=1 to a
|Is This Answer Correct ?||4 Yes||4 No|
Answer / rajaputra
set oDesc= Browser("name:=Mynaukri : naukri.com - India's
No.1 Job Site")
msgbox "Number of Items in Experience List= "& itemcount
msgbox "Number of Items in Minimum Salary List= "&itemcount
|Is This Answer Correct ?||3 Yes||4 No|
Answer / nani
The Following script displays the number of items in the
Any doughts feel free to make a mail to: firstname.lastname@example.org
|Is This Answer Correct ?||3 Yes||8 No|
Answer / karna
Thank you.. it works for me...
|Is This Answer Correct ?||0 Yes||6 No|
What is the use of "New Property" in "Add properties" of testobject properties in object repository. How can i use "New properties" while writing scripts if i have assign some values to the testobject properties Can anyone help me? plz
How to Test the mainframe application?(tell me few basic things)
How Qtp will identifies object during run time
what type of framework u r using in ur organization
we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?
why qtp supports vbscript? and not for others just like cgi,phython,shell,perl,html and all..
I want two test two agents login for the flight website. Here is the scenario: I want to go through 1-3 rows for one user login and other user login I want to go though 3-5 rows. How would you set this up in qtp. Thank You
How will you handle custom object in QTP?
Can any body explain me how to prepare QTP frame work with an example?? email@example.com
There r 1000 rows and 1000 coloums , in that I want pickup a name of the coloumn , pls dont say in sql statements , in interview one of the interviewer said it was a wrong answer pls any send me answer its urgent
how to change the properties of object during run time . plz give the code using flight reservation
how do u get lib files into scripting files?