write a qtp code to count the number of child objects in login
page and highlight it
Answers were Sorted based on User's Feedback
Answer / mudaseer
set childobj=dialog("text:=login).childobjects
msgbox childobj.count
for i=0 to childobj.count-1
childobj(i).highlight
next
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / 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 |
Give me some scripts for 1). checking webpage links (counting links,opening web pages,counting child elements)
When and why do you use "OPTION EXPLICIT" in VB Script. Is there any online help or something to learn the script for Beginners?
how to merge object repositories?
How do u do batch testing in WR & is it possible to do in QTP, if so explain?
www.icici.com after this home page wll came, in this page what r the items we r going to test for manual and what the element we r test for QTP... explian clearly with example
How u perform exception handling in QTp,what is other name for ths
I have 2 Environment variable which holds int. I called into my test and addedup. but output is concatenating the values instead of Sum. Ex. Envi("a")= 10, Envi("b") = 20, c= Envi("a")+ Envi("b"). msgbox c ( Ans.1020). How to overcome this pblm? I used the add fn also..
CAN I CALL A FUNCTION IN ACTION.IF YES PLEASE HELP ME
Explain about random testing of 500 test cases?
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
Is text area check point supports for web applications?
What is Performance testing?