If our application contain one image while executing script
application failed to show that image but you have to check
that image by importing dynamically from other location...
Can we use Check Points here on dynamically imported image?
Answer Posted / satish j
I see that your problem is the path from where the image is
loading,if you are using a relative or absolute path you
need to ensure that it is pointing to the right image at the
right location.
Just checking against another path will not work ,probably
you will see the image and you can also validate that using
Image checkpoint but the purpose will not be solved as ,its
not the image its the path from where you are fetching the
image.
Yes to check the image you can use the check point after
the dynamically imported image is populated.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
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...
How to open a new test using quicktest professional?
Explain the features of quick test pro(qtp)?
How do you delete unwanted results in qtp?
Write the code for,In the page screen we have total 10 Links,out of these I have to click 9th link
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
How you can decide which type of object repository you have to use?
What are the major/ important methods, functions in QTP we use realtime testing
What is post recovery scenario?
Can we create a qtp test from qc?
In Test Directory, What are the contents in test case designing? if you prepare in excel sheet how u use thrw Test Directory?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
How many types of Automation frameworks are there in UFT? Describe them.
What is test object model in quicktest professional (qtp)?