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
What is the syntax to call one script from another?
What are the ways you can synchronize?
How can i check items sorted or not in a weblist ? Give me the script for this...
What is data driver in qtp? Where we use it?
Hi! My OTP script has several bitmap checkpoints included which I check in the test results xml file. The test is for SAP 4.7. I need to save these bitmaps to files or at least export them to the html file using the export function in the test results viewer. Could you please help me with this problem? Thank you in advance! Best regards, Peter
Can I change properties of a test object?
what are the frame work models of qtp?which frame work you follow in your company?and explain it process?
What is the use of text output value in quicktest professional (qtp)?
Hi all Can u give me the link where we can download full version of qtp my mail id is karthic.venkitapathi@gmail.com
How the exception handling can be done using quicktest professional (qtp)?
How to sendKeys in QTP? Diff b/w sendkeys and device replay? Diff b/w function and Sub? Diff b/w Array and List Different Types of running Keys other than Fast, slow,Normal mode Regular expression for http://newtours.demoaut.com Difference between \w and \W How to generate script button Recording Types Different Types of Actions? Using DP performance degrades, If Yes why? How to close all the opened browsers? Diff b/w SystemUtil.Run and invoke application? If qtp not recognized the combo box How to select values from drop down?
how can i pass a "automation script" as a parameter in a function give me need full suggestion thank inadvance
Is the qtp course will help to create a virtual object?
Get the count of files of similar types from a folder.
• What type of testing questions will be asked for 2+ yrs exp people in interview?