We have 10 page.In first page we 2 popup and next page we 3
popup window......(windows name is different)how can we
handle the all the popups without using recovery scenario
Answers were Sorted based on User's Feedback
Answer / niranjan chandramouli reddy
IF you are getting in different pages of same browser.
then you can use the following code:
Do While Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Exist
Browser("Logical name :=Property").Dialog
("ispopupwindow:=True").Close
Loop
You can use this as function and call this function in
every page
Is This Answer Correct ? | 5 Yes | 1 No |
Answer / rahul
If the displayed dialog property is same then we can use below listed code
If Browser("").dialog("").exist then
Browser("").Dialog("").webbutton("").click
End If
Is This Answer Correct ? | 1 Yes | 1 No |
Answer / pramod mallick
use
SystemUtil.CloseProcessByName "IEXPLORE"
'It will close all Browsers with all dependant popup
windows.
Is This Answer Correct ? | 1 Yes | 7 No |
How To clear the AutoComplete?
How to check and display a particular word from a paragraph?
How to do call a output parameter from one action to another action??/
tell me the script for envirnment value parameeter with an example. which situation envirnment valu parameter is used
How to execute a WinRunner Script in QTP?
Explain how you can find length of array in qtp?
What is Description Object?
in order to start automation testing what we should require (entry level to automation testing)
Using Regular expression in Date format DD/MM/YYYY (0[1-9]|[12][0-9]|3[01])/(0[1-9]|1[12])/([0-9]{4}) in this regular expression year 0000 also accepted.I need atleast any one single digit must be nonzero value (like 0009,1000,0034)
Hello, I am working on automating unix application using QTP via terminal emulator.Recording and playback works as i execute my test case. I need to parameterise my data now. Steps to be followed 1. go to the application TeWindow("TeWindow").Window("Connect").WinButton ("Connect").Click 2. Make a transaction to an account I am able to make transaction one at a time (one person when i run the script) and the script is as below and works fine. TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "./4ee.sh" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "a21100002" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "tcccc" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "test" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type "6" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micF1 TeWindow("TeWindow").TeTextScreen ("TeTextScreen").Type "xexit" TeWindow("TeWindow").TeTextScreen("TeTextScreen").Type micReturn TeWindow("TeWindow").TeTextScreen("TeTextScreen").Sync 3. Now i need to Make a transaction to the account for the list of people available from data table. How do i do this? Please let me know if you can Thanks, Chaya
Write a script to delete a specific row in a webtable.
how to click the link in webpage by using QTP Script????????