Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help in doing SET on WebEdit inside WebTable
#1
Solved: 10 Years, 9 Months, 2 Weeks ago Exclamation 
I am trying to do DP on a SET on WebEdit that is inside a WebTable.

===================
This is what recording capture:

Code:
Browser("Delta - Book a flight").Page("Delta - Book a flight").WebEdit("paxFFNumber[0]").Set “12345678”

===================
This is what I write using DP and it didn’t work:

Code:
Browser(“name:=Delta - Book a flight”).Page("title:=Delta - Book a flight").WedEdit("html id:=paxFFNumber\[0\]", "name:=paxFFNumber\[0\]").Set "12345678"

===================

Object Spy properties:
Code:
"Class Name:=WebEdit",
"abs_x:=1525",
"abs_y:=423",
"class:=",
"default value:=",
"disabled:=0",
"height:=20",
"html id:=paxFFNumber\[0\]",
"html tag:=INPUT",
"innerhtml:=",
"innertext:=",
"kind:=singleline",
"max length:=20",
"name:=paxFFNumber\[0\]",
"outerhtml:=<INPUT onblur=""secureFlight\.retrieveSavedSFData\(get\('paxFFNumber\[0\]'\)\.value,get\('paxFFAirlineCode\[0\]'\)\.value,document\.getElementById\('paxLastName\[0\]'\)\.value,document\.getElementById\('paxFirstName\[0\]'\)\.value,null\);showSFPD\(0,get\('paxFFNumber\[0\]'\)\.value\);"" id=paxFFNumber\[0\] onfocus=secureFlight\.setPaxIndex\(0\); tabIndex=15 maxLength=20 name=paxFFNumber\[0\]>",
"outertext:=",
"readonly:=0",
"rows:=0",
"type:=text",
"value:=",
"visible:=True",
"width:=119",
"width in characters:=20",
"x:=565",
"y:=286"


"Class Name:=WebTable",
"abs_x:=962",
"abs_y:=394",
"border:=",
"class:=",
"cols:=7",
"column names:=Prefix;First Name;Last Name;Suffix;Airline Program;Frequent Flyer Number;Total value of Certificates applied",
"height:=96",
"html id:=pax_list",
"html tag:=TABLE",
"innerhtml:= *",
"visible:=True",
"width:=692",
"x:=2",
"y:=257"


"Class Name:=Page",
"abs_x:=960",
"abs_y:=137",
"height:=1011",
"hwnd:=2425556",
"name:=",
"text:=",
"title:=Delta - Book a flight",
"url:=https
dispatchMethod=doPricedItineraries&hiddenFieldsId=qhhZLN5xX42V305&checksum=272908248&cacheKey=qhhZLN5xX42V305",
"width:=956"


"Class Name:=Browser",
"abs_x:=960",
"abs_y:=137",
"application version:=internet explorer 8",
"hasmenubar:=True",
"hasstatusbar:=True",
"hastoolbar:=True",
"height:=1031",
"hwnd:=1639326",
"name:=Delta - Book a flight",
"number of tabs:=1",
"openedbytestingtool:=True",
"opentitle:=
"Destinations",
"openurl:=http
"title:=Delta - Book a flight",
"version:=internet explorer 8",
"width:=956"


Attached Files Image(s)
       
Reply


Messages In This Thread
Need help in doing SET on WebEdit inside WebTable - by chong67 - 09-26-2012, 11:38 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Set Value in JavaEdit Inside JavaTable yonobev 9 11,828 11-08-2017, 11:12 PM
Last Post: lotos
  Objects inside WpfList shinji458 23 21,483 11-08-2017, 10:54 PM
Last Post: lotos
  Get numbers inside all webelements in webtable and sort them pradeep537 1 2,588 08-04-2016, 01:24 AM
Last Post: Ankur
  How to set a value if webEdit control is disabled? rohit.kum.02@gmail.com 1 3,417 12-30-2015, 12:25 PM
Last Post: vinod123
  Not able to click text inside the grid dropdown szkapoo 6 4,297 12-20-2014, 09:43 PM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)