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

To which environments does quicktest professional (qtp) supports?

1027


Please Don't mind .i want in detail the real time process i.e in each document what it contains.

1897


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

1182


Where we can use the analog mode and where we can use the low – level mode?

995


Can we run multiple QTP scripts one after the other without manual intervention? How?

1064


what is the difference betn QTP 8.0 AND PREVIOUS VERSION

2455


what is description object?

2061


How to export quicktest professional (qtp) results to an .xls file?

1191


Explain the concept of object repository and how qtp recognises objects?

1039


How to analyzing test results using quicktest professional?

1177


write a script to verify links on any web page by using descriptive method by creating a description object (give a filter condition only link) ... need to verify expected like name by reading

1889


How to create scenario selector

2111


what is the diff b/w assistive and mandatary rules of object repository in QTP???

2192


Explain types of descriptive programming?

1048


Explain the difference between call to action and copy action?

997