SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    123
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    how to type a value in edit field?

    Hi,

    I want to type a value in the edit field with out using Set Property i want to type some value in a edit field means how can i do that

    thanks
    quickrun

  2. #2
    Senior Member
    Join Date
    Mar 2006
    Location
    Bristol, UK
    Posts
    1,530
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Change the recording level adn see what the expert view looks like afterwards?

  3. #3
    Senior Member
    Join Date
    Feb 2007
    Location
    Pittsburgh, USA
    Posts
    429
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    -Reddy

  4. #4
    Member
    Join Date
    Apr 2007
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    [ QUOTE ]
    Hi,

    I want to type a value in the edit field with out using Set Property i want to type some value in a edit field means how can i do that

    thanks
    quickrun

    [/ QUOTE ]

    Use WshShell

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.AppActivate "Browser/Window Name"
    WshShell.SendKeys "Sathish"

    If it is not working, give me the brief description where you are going to set the values.

  5. #5
    Member
    Join Date
    Sep 2006
    Posts
    123
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    when i recorded in low level it is displaying like
    Window("Microsoft Internet Explorer").WinObject("Internet Explorer_Server").Type "asd"

    But iam using Descriptive

    When i use Browser().Page().WebEdit().type "value"

    It is showing Error "Expected identifier"

  6. #6
    Member
    Join Date
    Apr 2007
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Did you tried this

    Use WshShell

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.AppActivate "Browser/Window Name"
    WshShell.SendKeys "Sathish"

    and tell what its showing and did you gave your browser in AppActivate.

  7. #7
    Senior Member
    Join Date
    Feb 2007
    Location
    Pittsburgh, USA
    Posts
    429
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Try this:

    Browser(".").Page(".").WebEdit(".").FireEvent "onclick"
    Window("text:=.*Internet Explorer","index:=0").Type "quickrun"
    -Reddy

  8. #8
    Member
    Join Date
    Sep 2006
    Posts
    123
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Hi,

    I tryed using

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.AppActivate "Browser("title:=Google")"
    WshShell.SendKeys "Sathish"

    It is Showing Error "Expected identifier"

  9. #9
    Member
    Join Date
    Apr 2007
    Posts
    55
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Use this

    Set WshShell = CreateObject("WScript.Shell")
    WshShell.AppActivate "Google"
    WshShell.SendKeys "Sathish"

    It will work.

  10. #10
    Member
    Join Date
    Sep 2006
    Posts
    123
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to type a value in edit field?

    Hi,

    it is working fine for a single edit field Thanks rss.

    if we have more than one how we can set the value for a paticular Webedit using shell script

    Quickrun

 

 
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 10.00%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 06:48 PM.

Copyright BetaSoft Inc.