with out object repository i need to launch IE and then
navigate to a login page and then operate the objects
within the page. How will be the script?
Answer Posted / ramanestalu dasari
create instance object using InternetExplorer.Application
Ex: Dim IE
set IE=createobject("InternetExplorer.Application")
IE.navigate("www.gmail.com")
IE.visible=True
Browser().page().webedit().set "value"
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
hi all can any body explain how to write the script for finding the mandatory fields which are having [red Astrik sign (*)]
Both static and dynamic arrays are handled by the vb script. Is it true?
How many lines of code in each script of QTP?
How to open a new test using quicktest professional?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation
What is a reusable action?
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 trigger events in qtp?
Is there any relation between Keyword Driven Framework and Recording modes provided in QTP( whether Recording modes are applied on keyword driven framework or not?)
How is recording done when a application is over lapping the QTP application it gives a message object not recorded
after click on compose mail how can we attached a file in qtp with vbscript code
whare exactly we have to use functions and sub routain
Object repositories types, which and when to use?
Suppose you are using shared objects repository in your test and you want to split your present action? At that time shared object repository is single or it’s also splits?
wht type of User defined functions or Java Releated functions do we write in VB scripting