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 |
Differences between text and test area checkpoints?
How to connect to a database?
Explain how you can find the absolute value of the number in qtp?
Write a QTP script to enter a keyword in to Google search engine?
Why we are going for descriptive programming ? I answered as 'If objects are not present in OR we will go for descriptive Programming'? Is this correct ?
What is the registration process and examination fees?
What is Modular framework and Keyword drive framework? Explain
how to idetfy which test cases are automated?who will deside that plz tell me
How can we disable popup blocker? (I think it means when we get a pop up messge(its error) how we wil disable that one with out interrupting normal process)
What is optional step in qtp? How you can add optional step in qtp?
1. How can we use same object repository and Testscript which is in English flavor to check the application in different languages thru QTP?(Chinese,Dutch,French) - I generated script in english and want to use the same script with different languages? - for windows i used regular expressions - I need for edit box,button and combobox, (English,French,Dutch,Chinese) These are the properties of a button in different languages Properties English Dutuch Chinese French x 400 758 631 601 y 673 603 592 676 windowstyle 1342242816 1342242816 1342242816 1.34E+09 windowid 2 2 2 2 windowextended style 4 4 4 4 width 120 120 120 120 visible TRUE TRUE TRUE TRUE righttoleft reading FALSE FALSE FALSE FALSE righttoleftlayout FALSE FALSE FALSE FALSE rightaligned FALSE FALSE FALSE FALSE regexpwndtitle cancel Loschen Chinese language Annuler regexpwndclass button button button button objectclass button button button button hwnd 132872 657228 656932 656782 height 33 33 33 33 focused FALSE FALSE FALSE FALSE enabled TRUE TRUE TRUE TRUE attached text abs_y 669 599 627 597 abs_x 396 754 588 672 text cancel Loschen Chinese language Annuler nativeclass button Button ordinal Identifier type,Value none none none none smartidentification FALSE FALSE FALSE FALSE comment
why do we use both location and index identifier.