Active Topics Memberlist Calendar Search Help | |
Register Login |
One Stop Testing Forum : Testing Tools @ OneStopTesting : WinRunner @ OneStopTesting |
Topic: TSL SCRIPTS FOR WEB TESTING |
|
Author | Message |
Mithi25
Senior Member Joined: 23Jun2009 Online Status: Offline Posts: 288 |
Topic: TSL SCRIPTS FOR WEB TESTING Posted: 07Jul2009 at 7:28am |
TSL SCRIPTS FOR WEB TESTING1. web_browser_invoke ( browser, site ); // invokes the browser and opens a specified site. browser The name of browser (IE or NETSCAPE). site The address of the site.
// moves the cursor to an image on a page. image The logical
name of the image. x,y The x- and y-coordinates of the mouse pointer when moved
to an image // moves the cursor to a label on a page. label The name of the
label. x,y The x- and y-coordinates of the mouse pointer when moved to a label. // moves the cursor to a link on a page. link The name of the
link. x,y The x- and y-coordinates of the mouse pointer when moved to a link. // moves the cursor to an object on a page. object The name of
the object. x,y The x- and y-coordinates of the mouse pointer when moved to an
object. // uns an event on a specified object. object The logical name of the recorded object. event_name The name of an event handler. x,y The x- and y-coordinates of the mouse pointer when moved to an object 7.web_file_browse ( object ); // clicks a browse button. object A file-type object. // sets the text value in a file-type object. object A file-type
object. Value A text string. // returns the location of text within a frame. // retrieves the text content of a frame. // returns the number of occurrences of a regular expression in
a frame. // returns a text value if it is found in a frame. // returns the current run mode out_mode The run mode in use. If the mode is FALSE, the default parameter, the test runs by mouse operations. If TRUE, is specified, the test runs by events 14. web_get_timeout ( out_timeout ); // returns the maximum time that WinRunner waits for response from the Web. out_timeout The maximum interval in seconds 15.web_image_click ( image, x, y ); // clicks a hypergraphic link or an image. image The logical name of the image. x,y The x- and y-coordinates of the mouse pointer when clicked on a hypergraphic link or an image. 16. web_label_click ( label ); // clicks the specified label. label The name of the label. |
|
Post Resume: Click here to Upload your Resume & Apply for Jobs |
|
IP Logged | |
cprasenjit26
Senior Member Joined: 14May2009 Location: India Online Status: Offline Posts: 151 |
Posted: 10Jul2009 at 6:24am |
Thank for TSL SCRIPTS FOR WEB TESTING.
---------------------------------------------------------------
|
|
IP Logged | |
Forum Jump |
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
© Vyom Technosoft Pvt. Ltd. All Rights Reserved.