Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In 1st screen,if v enter a/c no. in one field, the
information of the subscriber will be displayed. The
details should be displayed only in screen 3(NOTE:details
should not display in screen 2).How can v do using QTP.

Answer Posted / nanda

yeah u can test it...

first to get value value of account number field...

get_text = browser("XXXX").page("XXXX").WebEdit("Account
number").getROProperty("Text")
(I just written for capturing data, write remaining script
for complete the process in first page)

coming to second scenario..the get-text should not be
displayed in page.

check_text =
browser("XXXX").page("XXXX1").getROProperty("innertext")

search_text = instr(check_text,get_text)

if search_text = 0 then

msgbox "text is not Found"
else
msgbox "Text is not found in second page"
browser("XXXX").page(XXXX1").WebLink("Next").click
'***the above line is to open for 3rd page, i given sample.

browser("XXXX").page("XXXX2").sync

n = browser("XXXX").page("XXXX2").getRoproperty("innerText")

g = instr(n,get_text)

if g = 0 then
msgbox "text is not found in 3 rd page"
else
msgbox "text is found in 3rd page"

end if

If any queries...

nanda.dreddy@gmail.com

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

For QTP Test Engineer, What is his contribution to the Project? Means, As as automation test engineer what is his role in the current project?

2211


Explain the views in the QTP GUI?

998


I want to configure the OR and library files to a particular QTP test during run time. Note: OR and Library files are located in Quality Center. Is it possible in QTP? Anybody having code?

1787


Hi, is it possible for recording shortcut key during record session? The application on which I am working is web based application. This application has several shortcut key associated with menu option. I have succesfully recorded all menu option but unable to record shortcut key.

1778


How do Parameterization and Data-Driving relate to each other in QTP?

1011


Which environments are supported by hp qtp?

942


Explain different types of action in qtp?

1031


Explain the features of quick test pro(qtp)?

974


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

2076


distinguish between old version and new version QTP features.

2290


Is it possible to call from one action to another action in qtp?

977


Why we use QTP ,We can use other tools like WR OrSilktest What r the options in Qtp that WR and Swilktest Does not have.

2251


Which scripting language used by quicktest professional?

907


What kinds of security (firewalls, encryptions, passwords, etc.) will be required and what is it expected to do? How can it be tested?

1035


How to handle Java tree in QTP?

1259