How can i count the list box elements in QTP ?using script
plz explain me (Chandana)
Answer Posted / minni
u can use GETITEMCOUNT to count the items in a list
box.For an example see the below script.
msgbox Window("flightreservation").Wincombobox
("flyfrom:").getitemcount
Is This Answer Correct ? | 25 Yes | 2 No |
Post New Answer View All Answers
How to find the difference between 2 dates in qtp?
Why script error occur in between recording in qtp?
what are all the fileds present in object repository?
What is the difference between the keyword view and expert view?
can any body plz help by sending the qtp docs and qtp ppt's? this is my mail id:murali.padeti@gmail.com
What is post recovery scenario?
What we are looking for is to load properties of object dynamically as for our application the global repository will pretty huge. It will be really helpful to us if something similar to following functions of Winrunner is available in QTP. #Define descriptor auto strDesc; #set property in the descriptor Gui_desc_set_attr(strDesc,?Class?,?Edit?); --- put other properties #Add Edit box to GUI Map Gui_add(? ?,strWindowName,strEditboxName,strDesc);
How to capture a window in QTP?
can any boby tell me what is method or steps to connect the remote desk top by using QTP 9.2 version?
Hi, I am using OutputCheckPoint for 2 webelements Bed:4 and Bath:2 Full,1 partial in my result page and I am storing the value in the data table. I dont need the string Bed:4,I would like to get only the no 4. How can I get it? Even though I highlight only 4,It is seleting the full value "bed 4". Same thing happend for second webelement Bath:2 Full,1 partial I need only the No 2. I used the following to split MyArray = Split(UIBathResult, " ", -1, 1) But it is giving the value My Array(0)=Bath:2full,1Partial I need the only the nos for further comparision.Any help? Thanks Uma
Give me At Least 5 Differences between DOCUMENTATION OBJECT MODEL(DOM)and COMPONENT OBJECT MODEL(COM)? Interviewer said me to WRITE the difference only in points not as you WRITE a paragraph ???? only in points
What are the differences between quicktest professional (qtp) and winrunner?
How to carry out bit map check points in QTP
Explain more about the Test Fusion Report of QTP?
What is different command used in command Prompt while using QTP?