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.
Answers were Sorted based on User's Feedback
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 |
Answer / nag
Hi, from where ur picking the value for entering A/C no, If
you are picking into a variable u can check the same
variable with the GetROProperty of the object in the 3rd
page.
Is This Answer Correct ? | 0 Yes | 0 No |
How to handle "Java Runtime error" popup window in the web application ? Sometimes the application throws the error repeatedly... Is there any browser setting available to disable the error ?
Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain
• What type of testing questions will be asked for 2+ yrs exp people in interview?
How can we get the result from WindowsXP Command Window? (e.g. After we input 'ipconfig' in command window, how QTP get the result?)
QTP is identifying all windows application objects(i.e. winbutton,winconbobox,etc) as winobjects.How to handle this? Is there any way to add our own properties to identify objects?
What is the latest version of qtp?
What is operator in VB Script?
There is a name "AJAY" how do u count no.of. "A" in that name ?
Regular expressions..... Actually how to use this and what is the exact syntax and can anybody can help me out this with example.is there any docs pls send to my mailid rvreddy82@gmail.com
how much space occupies in object respository by default?
In an interview, what r the general questions asked in SQL which is realted to testing ?pls give me anwser to this question?
After running scripts how you report results ,there is any specific report form