When u r running a script , if u get a popup window that
describing that u have received a mail to your outlook
application. so to avoid the interference of the popup
window , which recovery scenario(popup,object
state,application hang,system crash) would u use ?
Answers were Sorted based on User's Feedback
Answer / g2
Four type of recovery scenarios are there.One of them is
Pop-up exception.So navigating to Tools>Recovery
Scenario>Manager user can add the pop-up exception.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajendra
Using popup exception we handle this situation.
ok frindz byee
Rajendra
rajendra_penumalli@yahoo.com
+91-9885162742
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / srinivas
Using pop-up expection in recovery scenario manager to skip
the unwanted windows.
| Is This Answer Correct ? | 1 Yes | 2 No |
Answer / mark
In QTP 9.0, you have a option to avoid this pop ups.
| Is This Answer Correct ? | 0 Yes | 1 No |
How can we disable smart identification at the time of recording? Ideally, smart identification should be enabled only at the run-time.
How to handle recovery scenario for a application crash.write script for this.
How to create an Action Template?
hi This is Harish.1. What is object repositery .2. what is frame works in QTP,what is keyword driven frame work,explain it and how to associate the folders.3.the build is developed in java, can we write scripting in vb .4.what is discriptive progaram,how to write it.5.what is process of QTp testing.6. how to associate the shared repository. 7.what is implicit and explicit 8.what is runtime data please replay me regards Harish
How extensive or customized are the server logging and reporting requirements; are they considered an integral part of the system and do they require testing?
Hi, How to invoke QTP or any application through Command Prompt without using Vb script and batch file.... Reply me Srinivas
How do you handle multiple banners(at the top the page, the banner is scrolling) in a web page(Dont take the name property(regular expression))
which tpye of exceptions mostly do we face in QTP
How you handles Pop-up windows which are Dynamically changing in Runtime?
how to load the *.vbs (or) test generating script in a new machine?
When I used random numbers(1 to 9) with regular expression and run the test, it runs only 5 iterations with passed result instead of running all 1 to 9. Please tell me what can be the reason
VM1 = "Invalid username or password. Please try again. " VM2 = "Email id is required.Password is required. " VM3 = "Email id is an invalid e-mail address.Password is required. " VM4 = "Password is required. " VM5 = "Email id is required. " VM6 = "Email id is an invalid e-mail address. " 'Rowcount of the Local sheet Rowcount = DataTable.GetSheet("Invalid login transactions").GetRowCount 'Valid emailid and Password Emailid = "test@iteamic.com" Password = "Password0" 'For i = 1 to Rowcount 'Parameterised Email_id Browser("Browser").Page ("Page").WebEdit("emailAddress").Set DataTable("Email_id", dtLocalSheet) EID = Browser("Browser").Page ("Page").WebEdit("emailAddress").GetRoProperty("value") 'Parameterised Password Browser("Browser").Page ("Page").WebEdit("password").Set DataTable("Password", dtLocalSheet) PWD = Browser("Browser").Page ("Page").WebEdit("password").GetROProperty("Value") If EID = Emailid And PWD = Password Then Reporter.ReportEvent micPass, "EID & PWD check", "Email id and Password is correct, One iteration of Invalid login attempts is not being executed" Else Browser("Browser").Page("Page").WebButton ("Sign-In").Click 'Output value exported to the local sheet Browser("Browser").Page ("Page_2").Output CheckPoint("Home page_Sign in") 'Storing the output value in a variable(OUTPUT OUTPUT = Datatable.GetSheet ("Invalid login transactions").Getparameter ("Validation_message_signin").value 'comparing the Variable Output and the Validation message for a given input If OUTPUT = VM1 Then Reporter.ReportEvent micPass, "VM1", "Invalid username or password. Please try again. " else if OUTPUT = VM2 Then Reporter.ReportEvent micPass, "VM2", "Email id is required.Password is required. " else if OUTPUT = VM3 Then Reporter.ReportEvent micPass, "VM3", "Email id is an invalid e-mail address.Password is required. " else if OUTPUT = VM4 Then Reporter.ReportEvent micPass, "VM4", "Password is required. " else if OUTPUT = VM5 Then Reporter.ReportEvent micPass, "VM5", "Email id is required. " else if OUTPUT = VM6 Then Reporter.ReportEvent micPass, "VM6", "Email id is an invalid e-mail address. " else Reporter.ReportEvent micFail, "EID & PWD check_FAIL", "Validation message checkpoint failed. The captured v msg is not required" End if End if I am getting syntax error saying "Expected 'End If'" at the last line, Why is this? Kindly explain...