how do check the links in a webpage ?
Answer Posted / sri satya
Hi
You can check links in aweb page by using the following
script:
if Browser(title:=BrowserName).Page(title:=TitleName).Link
(name:=LinkName).Exist then
msgbox "pass"
else
msgbox "fail"
end if
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why do we use "Text checkpoint" If we can make use of it in "standard checkpoint" ?
What are the challenges you faced during you entire life automation ?
What are the views available in qtp?
how can i call function (which has link with excell sheet at a remote location) within another function
i have doubt suppose iam purly working in manual, when i will get work to do on sql and performence testing? pls any one clarify doubt?
What do you to script when objects are removed from application?
In qtp is it possible to check broken links of a page?
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
What are the different recording modes?
How does qtp identify gui object?
Hybrid framework supports Descriptive programming. Is it true?
How does qtp recognize objects in aut?
How many types of recording facility are available in quicktest professional?
Name the different types of recording modes?
i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click