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 |
When I click on a link in web page.Link should open in new window.can anyone please let me know the script for this ---Koti
how to retrieve data from the data table (from a particular cell)
What are the general steps involved in the data driven framework?
Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3 5 4 5
what is the difference between an Action and a function in real time
If QTP not recognizing using repository while executing, how can we go forward
How to automate the windows dialog box which is coming in the run mode? Whenever I run my scripts,I am getting dialog box ( for ex: Pls enter zipcode" eventhough I already entered the value,the dialog box pops up).I need to click it. Pls give some idea-How to automate the dialog box which is pop up in the runtime.
In my script there is a link(e.g. 'My Page') when I execute the script sometimes(not every time) QTP throws an error that "My Page(as link)" not found. Pleaase tell me where I need to update
In Test Director bug rEPORTS, wHAT ARE THE CONTENTS(fIELDS)? iF yoU PREAPARE BUG REPORT IN eXCEL sHEET , hOW U SEND TO dEVELOPMENT TEAM THRW T.D?
How the automated tests in org
what is vmodel?advantages and disadvantages of vmodel?
what is the use of automation objective model?where is used? plz tell me