What is action required by QTP if a popup message is coming
in exsisting script and now it is not coming.
The script is having code to deal with popup message now
when we run the script now the popup i snot coming
according to new build, instead of changing the code what
we can do?

Answer Posted / rk

What Ranga said is right...
we can use OptionalStep.Window("').Dialog("").WinButton("OK").Click

what this will do is..if that pop up exists then it will click OK else it will skip that step.
It will wait for default time as we specify in ObjectSyncTime in settings.
If any one needs more info..then contact me @krish.ram20@yahoo.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I import environment from a file on disk?

523


How to replay a script in qtp?

602


distinguish between old version and new version QTP features.

1848


Key word driven framework

1673


I need to pull the data from the page which in row, column vice into excel sheet, how can it be done using QTP? eg: Name Dept xyz gdty i need the same data to be exported in excel sheet.

1711






any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3426


what is the difference between built-i function and In-built function?

1619


How do I generate Test Results window using descriptive method ( run time ) after my test execution process? Please have a look of my below code. ========================================================= Dim qtApp Dim qtTest Dim qtResultsOpt Set qtApp = CreateObject("QuickTest.Application") qtApp.Launch qtApp.Visible = True qtApp.Options.Run.CaptureForTestResults = "Always" qtApp.Options.Run.RunMode = "Fast" qtApp.Options.Run.ViewResults = True qtApp.Open "C:\Automation\Example", True Set qtTest = qtApp.Test qtTest.Settings.Run.OnError = "NextStep" Set qtResultsOpt = CreateObject ("QuickTest.RunResultsOptions") qtResultsOpt.ResultsLocation = "C:\Automation\Example\Res1" qtTest.Run qtResultsOpt MsgBox qtTest.LastRunResults.Status qtTest.Close Set qtResultsOpt = Nothing Set qtTest = Nothing Set qtApp = Nothing ========================================================== This code is working fine, but Test Result window is not displaying after execution. Anybody can please help me regading the same. Thanks Akshaya Madali Capgemini India Pvt Ltd 9823213538

3598


An action has both shared and local OR associated with it and both have the same object in them. In the test which one will be considered?

560


i am looking job in perfomance testing using Loadrunner any one help me a project plz......?(Chandana) chs_29@rediffmail.com

1448


what are the challenges you have faced while testing web based application using the automation tools ?

580


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

1471


How to Test the mainframe application?

1811


I hav installed QTP8.2, im working on webapplication, while running the script giving error msg like "QTPro.exe generated errors and will be closed by windows. You will restart the program. An error log is being created". Pls anybody what is the problem, what i have to do for this? Thanks...

1703


When to use shared and local object repository?

620