Answer Posted / raju
Using child objects we can count the links. script is as
given below
SystemUtil.Run "www.hdfcbank.com"
Set aa=description.Create
aa("html tag").value="TD"
set bb=Browser("name:=HDFC Bank.*").Page("title:=HDFC
Bank.*").childobjects(aa)
cc=bb.count
msgbox cc
For i=0 to cc-1
bb(i).highlight
Next
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Where we can use the synchronization?
Explain process of smart Identification in QTP?
If there is a change in the object type eg: A button is changed as link, 1. How to edit that in the shared object repository. 2.What options are available to edit the object within shared object repository other than copy from loca; 3.What would be the effect of the change in Coded Scripts within QTP and Functions stored in .vbs file which are loaded and used in QTP
After fixing the bug, the same bug is raising again and again in new builds what we have to do? That bug is high level bug.
Why qtp the best testing tool?
Hi, I got error message as "object does not support this property or method: "Test.Actions" when i execute the following line of script on QTP 9.0 Dim qtApp, qtRep Set qtApp = CreateObject("QuickTest.Application") Set qtRep = qtApp.Test.Actions("Action1").ObjectRepositories Can anyone tell me where i am wrong.
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Functions call by reference and call by value. i want the diff b/n these 2 and how will be the script for this?in which situation we use these 2..?pls explain me clearly
how can we test the Triggers, Cursors, Indexes while doing Database testing in DTP??
How can you pass value one action to another action?
How to break the object spy ?
How can we conduct U-I Testing by using QTP??????
Explain the check points in quicktest professional?
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?
Can we access the java methods in qtp. Because my requirement is to access the swt(for eclipse an it is java code) methods in qtp is it possible?