A question was asked in a company-suppose, I am testing a
website on QTP, all the time a new title bar is appeared on
next page. Trying to use regular expression under key word
driven testing
but expert view is also appearing unchanged and error is
also generating,
do you have any best resolution for that kindly explain in
detail. please dont give
example of yahoomail, that is unable to clear my doubt.

Answers were Sorted based on User's Feedback



A question was asked in a company-suppose, I am testing a website on QTP, all the time a new tit..

Answer / kumar

go to the OR and change the object name using '.*'(regular
exp)

Is This Answer Correct ?    0 Yes 0 No

A question was asked in a company-suppose, I am testing a website on QTP, all the time a new tit..

Answer / less than you

I am reexplaining the question::


Tile bar is completely getting changed on the next page
what syntax we will use for regular expression for

Browser("Yahoo! Mail - The best").Page("Yahoo! Mail - The
best").WebEdit("login").Set "TestUser"
Browser("Yahoo! Mail - The best").Page("Yahoo! Mail - The
best").WebEdit("passwd").SetSecure "460205b87f0543"
Browser("Yahoo! Mail - The best").Page("Yahoo! Mail - The
best").WebButton("Sign In").Click
Browser("Yahoo! Mail - The best").Page("Yahoo! Mail -
TestUser@").Link("Addresses").Click
Browser("Yahoo! Mail - The best").Page("Yahoo! Address
Book -").Link("Mail").Click
Browser("Yahoo! Mail - The best").Page("Yahoo! Mail -
TestUser").Sync

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

Hi! Using Descriptive Programming How do we get Parent object for an object by writing script(DP). Say, i want to get a parent object for a "Link" in a web page by writing script in Descriptive Programming.

0 Answers  


what is the script for keyword driven framework in real time?plz its urgent

1 Answers   Accenture, CTS,


Hi,iam new to automation and i have 1 year experience in manual testing.I have a little bit idea about QTP9.0 .But i have no idea about script writing using VB.Please help to learn script writing.

1 Answers  


what is ODC and GDC?

0 Answers   Patni,


Hello Everybody, How to maintain the page state in QTP. My scenario is: 1. I opened a notepad file. 2. Entered some text in the notepad file. 3.And changed the font type and color of the notepad file. And saved that. 4.Now next time when I will open the notepad it is showing the changed font type and color, rather than the default values. Please provide the code. Thanks, Gaytri

5 Answers  






unable to get item from the combobox using descriptive programing. can any one give me the peice of code to schedule the booking from one place to another using DESCRIPTIVE PROGRAMING.

1 Answers  


How to create runtime property for an object?

0 Answers  


what is aregular expression?

4 Answers   UHG,


what is the abbrivation of .mtr in action reposirtory?

8 Answers   GE,


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

0 Answers  


What are the enhancements u did after recording ur script?

1 Answers  


How to load the object repository at run time?

1 Answers  


Categories