SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Click the objects without giving Coordinates

    Hi,
    I tried to automate login screen. The code is looking like below.
    I'm using IE5.5 and SilkTest 5.0.3. It couldn't recognize the textboxes. Script gets failure, if I change the Browserwindow from Maximize to Restore mode.

    How can I change the script, which will run at any machine without failure..?


    ------------------
    Thanks & Regards,
    Palani.
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  2. #2
    Senior Member
    Join Date
    Jan 2002
    Location
    Des Moines, Iowa
    Posts
    289
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Click the objects without giving Coordinates

    tmpalaniselvam,

    You really need to understand how Silktest uses the frame file.

    We are definitely here to help anyone with questions or issues with Silktest. That's what friends are for . But I don't think that a forum could "Teach" anyone how to use Silktest.

    I recommend that you take the time to read the extensive PDF manual that comes with the product. I also highly recommend that you sit down and go through the tutorial with some of the training applications that come with Silktest.

    You are not going to be able to pick up and run with Silktest overnight. At the risk of offending existing Winrunner customers, I find that Silktest is a much more comprehensive tool that gives the user far greater capabilities. With this comes some complex tasks that must be accomplished to really get the best use out of the tool. Learning and understanding these tasks takes time, patience, and experience.


    ------------------

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Click the objects without giving Coordinates

    Silk 5.0.3 is real old and many enhancements have been made to Browser support since then. I'd suggest that you obtain the latest version. There should be no reason then to be forced to use blind offset clicks and typekeys. 4 lines should cover the entire operation:

    Login.SetActive()
    Login.Name.SetText()
    Login.Password.SetText()
    Login.Login.Click()


    John



    ------------------

  4. #4
    Member
    Join Date
    Oct 2002
    Location
    Alameda, CA
    Posts
    50
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Click the objects without giving Coordinates

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by John J. Miller:
    Silk 5.0.3 is real old and many enhancements have been made to Browser support since then. I'd suggest that you obtain the latest version. There should be no reason then to be forced to use blind offset clicks and typekeys. 4 lines should cover the entire operation:

    Login.SetActive()
    Login.Name.SetText()
    Login.Password.SetText()
    Login.Login.Click()
    <HR></BLOCKQUOTE>
    John is exactly right, although he failed to mention that you'll have to capture the object declarations and write each of the methods you need. Once you've done this a few times it's a simple operation, but the first few can be quite trying, as you must learn every step of the process.

    So try to record your window declarations and create some simple methods as a start.



    ------------------
    -Josh
    -Josh

  5. #5
    SQA Knight
    Join Date
    Sep 2001
    Location
    Bangalore,India
    Posts
    2,549
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Click the objects without giving Coordinates

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by John J. Miller:
    Silk 5.0.3 is real old and many enhancements have been made to Browser support since then. I'd suggest that you obtain the latest version. There should be no reason then to be forced to use blind offset clicks and typekeys. 4 lines should cover the entire operation:

    Login.SetActive()
    Login.Name.SetText()
    Login.Password.SetText()
    Login.Login.Click()
    <HR></BLOCKQUOTE>
    Hi Guys,
    Thanks for all the replies. I appreciated your help. I already went thro the User and 4Test language guide. Usually I prefer the script, which should be very generic and easily maintainable.

    As per my application, SilkTest couldn't identify the objects in the login page. But it can identify the objects in remaining pages. I noted the script contains the coordinates. Coordinates are optional for some objects' methods.

    My company is having ST5.03 version only. I hope, I can get recent version later...

    ------------------
    Thanks & Regards,
    Palani.

    [This message has been edited by tmpalaniselvam (edited 04-05-2003).]
    Thanks & Regards,
    Palani.
    http://tips-testing.blogspot.com/index.html
    Quote: Donít hesitate to initiate!

  6. #6
    Senior Member
    Join Date
    Jul 2000
    Location
    Walsall, West Midlands, United Kingdom
    Posts
    259
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Click the objects without giving Coordinates

    Indeed SilkTest 5.0.3 is old but it should work with IE5.x fine and certainly on a simple login screen.

    I would suggest checking that your extensions are loaded correctly in 'Entension Enabler' in the Windows Start Menu Program Group.

    Any idea if the text boxes are custom objects? Have a browse at the HTML.



    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 10:39 PM.

Copyright BetaSoft Inc.