write a qtp code to count the number of child objects in login
page and highlight it
Answer Posted / prathyusha
set olink=Description.create
olink.add "micclass","text"
set olinkcol=B().P().Link().childobjects(olink)
msgbox olinkcol.count
for i=0 to olinkcol.count-1
olinkcol(i).HighLight
next
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you check that your test cases covered all the requirements?
Explain about datafile/verification of date file when file is not available in local system?
In qtp, how you can get the last character from a string?
Hi Sudhananda, plz send me the QTP framework with any diagram and PPTS . I want to switch to automatio, I done QTP from professional person, but he does not give me his knowledge properly. so pls help me Thaks send me on following address mirajkar.akash@gmail.com
How to use the object spy in quicktest professional 8.0 version?
What is the difference between local and shared object repository in qtp?
What are parameterizing tests?
What r the different filters in defect in quality center
What is the difference between keyword view and expert view?
When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.
How to find operating system information using the qtp script?
i have two questions for regular expression :- Q1. I have date pattern eg-29/11/2011 29-11-2011 29.11.2011 Que- if any separator is there between date,month and year pattern should match else it should not match eg- pattern should not match in case of 2911-2011 Q2. let say i have a string and there is a number in between of that string eg.-Amount 30002.234 successfully credited to your account . now i have to match this pattern in such a way that even if decimal is not there pattern should match ,how i will do this using regular expression
How is a Step generator used in UFT?
How do you compare the structure of 2 tables in database and check whether they are similar using qtp.
An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?