SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    edit box properites

    In my web application ,edit box name is changing randomly, when i check with object spy is findin these are under WebEdit class.

    when i record and play back system is saying cant find object.so how can i set the system to take a new name ..i have to write any code or is there any option?if so plese advice how to do..

    Thanks in Advance
    Daran
    Daran

  2. #2
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: edit box properites

    You need to identify whether it has a pattern or not. If it has then you can use a regular expression. If not then you will have to use index property.

    Something like
    Browser().Page().WedEdit("html tag:=INPUT","index:=0").Set "Text"

  3. #3
    Junior Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: edit box properites

    Originally posted by Tarun Lalwani:
    You need to identify whether it has a pattern or not. If it has then you can use a regular expression. If not then you will have to use index property.

    Something like
    Browser().Page().WedEdit("html tag:=INPUT","index:=0").Set "Text"
    <font size="2" face="Verdana, Arial, Helvetica">
    Daran

  4. #4
    Junior Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: edit box properites

    Thanks,

    unfortunately it's very difficult to find index numbers in(WebEdit class) my application ..


    Cannot identify the object "[ WebList ]" (of class WebList). Verify that this object's properties match an object currently displayed in your application.

    please suggest any solution...?

    thanks in advance
    daran
    Daran

  5. #5
    Moderator
    Join Date
    Jul 2005
    Location
    Delhi
    Posts
    15,575
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    7 Thread(s)
    Total Downloaded
    0

    Re: edit box properites

    Can you record 2 different scripts and send the complete scripts on my id tarun_lalwani_2000(at)yahoo(dot)com and i will see if there can be a comparison between the dynamic values.

  6. #6
    Junior Member
    Join Date
    Mar 2006
    Location
    london
    Posts
    24
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: edit box properites

    Thanks..

    please check ur mail
    Daran

 

 

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 12.50%
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 03:52 AM.

Copyright BetaSoft Inc.