By using QTP, How do you test a frame in a web page?
Answers were Sorted based on User's Feedback
Dorababu sorry to say this. we are not xml programmers.
Here frame means nothing but one part in a web page.Means
one page will be having n number of frames.
We can test frame is available or not. For example--
Browser().page().frame().webbutton().click
In Above example webbutton existing in a frame. If we take
the properties of webbutton using objspy we will get the
frame properties,page properties & browser properties along
with webbutton properties.
any doubts mail to mskalyan.smile@gmail.com
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / nani4urs
By using Check Poinnts we can check the frame in a web page.
for eg: we have to check the image in a frame we can use
the bitmap check point.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / sirisha
Could you please explain briefly? am little bit poor in
coding. and wr can i write this xml file? and how can i
execute?
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / m dora babu
Hi,
First we need to create a xml file and then we can test a
frame in web page in the below format.
<?xml version="1.0"?>
<ROOT>
<Browser name="sten Desktop"
logicalname="stenadDesktop">
<Page title="sten Desktop"
logicalname="stenabPage">
<Frame title="stecab test"
name="stestyIframe_activity_*.*"
logicalname="stesttentionFrame">
<WebElement innertext=""
index="2" htmltag="SPAN" logicalname="astesttionTabs"/>
</Frame>
</Browser>
</ROOT>
M Dora Babu S O N T A S O F T W A R E
BANGLORE Mail me @ mdorababum@gmail.com
| Is This Answer Correct ? | 1 Yes | 3 No |
in one page we have 100 links i have to click the 99th link how can i click the 99th link.
4 Answers GK Technologies, IBM,
what is meant by automation tool?
Connect to QC using AOM.
How to open a new test using QTP?
Explain how to use QTP to check broken links on a page?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
After the execution of a script how do u upload the results to Quality Center. Pls anyone explain in detail. It is very urgent._______Thanks a lot!!
How can we use the "CreateObject("Shell.Application")" in QTP and what is the definition and purpose of it?
What are the challenges do we face while testing webbased applcations using the automation tool QTP or any?
What is the main difference between desriptive programming and generic functions
how to export the result to notepad....for example i want to enter the user name and pass word and clicking on login button ......once you click on login button the corresponding page will open ...in that page you having one list box ...here you can get either success or failure ........friends here i want export the message what ever i got either success or failure .....how to export the result to note pad
I got an error "The"flightres" Dialog was not found in the Object Repository. Check the OR to confirm that the object exists or to find the correct name for the object." while running the following script Set flightres=description.Create() flightres("text").value="Login" flightres("Class Name").value="Dialog" Set agent = description.Create() agent("nativeclass").value="WinEdit" agent("attachedtext").value="Agent Name:" Set pwd = description.Create() pwd("nativeclass").value="WinEdit" pwd("attachedtext").value="Password" Set button = description.Create() button("nativeclass").value="WinButton" button("Text").value="OK" Dialog("flightres").WinEdit("agent").Set "test" Dialog("flightres").WinEdit("pwd").Set "mercury" Dialog("flightres").WinButton("button").Click Please let me know if i made any mistake in the above script...?