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
UFT 12.02 which ALM version will support
what is meant by source control?
Hi All, I need code for how to execute qtp scripts from excell sheet
how to test load test and block box testing an a web based application pls give ans briefly
when will you do debug your script? and explain that process?
What is the quicktest professional (qtp) testing process?
How will you compare keyword and expert view?
How does qtp recognize objects in aut?
Which environments does qtp support?
What are the differences between quicktest professional (qtp) and winrunner?
How do you open adobe acrobat file in QTP and do some testing on that file ?
Hi Friends, I worked with 8.2 not with 9.2. Please help me in this prob. I created one script and recorded some think and save as Test 1 then I opened process--open the object repository manager. Switch to file->save->give some name->save as Objectrepo1.tsr file. (This is the global repository file.) Then I went to object repository->tools-> associate repository ->click + icon ->open the previously saved Objectrepo1.tsr file. This is the global repository Now I created one more script and save as Test 2. In this script I am calling script with the Help of "Call of existing action" and I executed but QTP is not able to execute B’cos it is QTP is not able to read the Object Repository of Test 1. Please let me know why? Once I made Script 1 as a shared Obj. Repository so it would not give any Problem. Right?
"What are the common constrains that we need to consider when we prepare testcases for ASP application". Thanks in Advance...
Explain the types of properties that quick test learns while recording?
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