SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: Edit Help

  1. #1
    Senior Member
    Join Date
    Nov 2007
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Edit Help

    With Browser("").Page("")
    .Link("AddNewUser").Click
    End with

    With Browser("").Page("")
    .WebEdit("FirstName").Set "Babar"
    .WebEdit("LastName").Set "Khurshid"
    .WebList("salesTeamList").Select "#1"
    .WebEdit("Email").Set "a@a.com"
    .WebEdit("Phone").Set "333-333-333"
    Environment.Value("email")=.WebEdit("Email").GetRO Property("value")
    Environment.Value("useid")=.WebEdit("UserID").GetR OProperty("value")
    Environment.Value("pwd")=.WebEdit("Password").GetR OProperty("value")
    Environment.Value("cfmpwd")=.WebEdit("ConfirmPassw ord").GetROProperty("value")
    msgbox Environment.Value("email")
    msgbox Environment.Value("useid")
    msgbox Environment.Value("pwd")
    msgbox Environment.Value("cfmpwd")
    .WebList("timeZoneList").Select "#23"
    .link("Save").Click
    End with

    With Browser("").Page("")
    For i=2 to .WebTable("Users_Table").RowCount
    If instr(.WebTable("Users_Table").GetCellData(i,3) ,Environment.Value("useid") )>0 Then
    'Click on Edit icon
    .Image("Edit_icon").Click
    'Comments:-
    'it will click on image icom which i select from opjectrepo but i want to edit record which i saved and edit icon link is in cell once
    '.WebTable("Users_Table").GetCellData(i,1)
    ' How will i able to click on edit against this specific record which found in table
    End If
    Next
    End with


    it will click on image icom which i select from opjectrepo but i want to edit record which i saved and edit icon link is in cell one
    .WebTable("Users_Table").GetCellData(i,1)
    How will i able to click on edit against this specific record which found in table <font color="red"> </font>
    Life is the Game of Luck

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Location
    South Africa
    Posts
    273
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Edit Help

    Get the absolute y coordinate. Loop through the edit fields until you find the one within small range from the y position.

  3. #3
    Senior Member
    Join Date
    Nov 2007
    Posts
    124
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Edit Help

    Sorry Bro not able to understand [img]/images/graemlins/frown.gif[/img]
    Life is the Game of Luck

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

    Re: Edit Help

    use this :

    Set WebEditObj = Browser"B").Page"P").WebTable"WT").ChildItem(i, 1, "Image",0)

    WebEditObj.Click

  5. #5
    Junior Member
    Join Date
    Mar 2007
    Posts
    16
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: Edit Help

    this one

    use this :

    Set WebEditObj = Browser("B").Page("P").WebTable("WT").ChildItem(i, 1, "Image",0)

    WebEditObj.Click

 

 

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.71%
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 11:41 AM.

Copyright BetaSoft Inc.