Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Estimate for preparing a basic test script
#2
Not Solved
1. SystemUtil.Run "iexplore.exe", "url of the application"
2. For Login basically for login we need username and password
Code:
Browser(micclass:=Browser).Page("micclass:=Page").WebEdit("name:=Username").Set "username of the web application"
Browser(micclass:=Browser).Page("micclass:=Page").WebEdit("name:=Password").Set "password of the web application"
if the login icon is image use the first statement and if the login is a button use 2nd statement
Code:
Browser(micclass:=Browser).Page("micclass:=Page").Image("name:=Login").Click
Browser(micclass:=Browser).Page("micclass:=Page").WebButton("name:=Login").Click
Go to Item Master and add Item
Code:
Browser(micclass:=Browser).Page("micclass:=Page").WebElement("name:=Item Master").Click
i want the details of the item master and add item screen to proceed for next step
Reply


Messages In This Thread
RE: Estimate for preparing a basic test script - by vinod123 - 02-15-2014, 11:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Calling a function in a Test Script from a function library anupam4j 3 6,113 06-26-2015, 12:31 AM
Last Post: babu123
  Can we access a table element in Script at runtime without a corr. test object? sepgs2004 1 3,043 10-14-2013, 07:05 PM
Last Post: anil2u
  Basic error handling RandomGrin 3 4,003 10-12-2013, 07:50 PM
Last Post: basanth27
  Flight reservation basic parameterization not working on qtp 11.5 srs246 0 3,690 01-08-2013, 10:14 AM
Last Post: srs246
  QTP Real-time Test Script for sap application kamal262007 1 3,438 10-03-2012, 10:35 AM
Last Post: Ankesh

Forum Jump:


Users browsing this thread: 1 Guest(s)