Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Write to DataTable
#11
Solved: 11 Years, 3 Months, 4 Weeks ago
Special Code is defined as a TeField in the Object Repository under screen2, but I still get no value in vb_text. I put a print statement in there to confirm that. does the vb_text have to be defined somewhere? Is there somewhere other than the Oject Repository I need to define Special Code?

Thanks!
Reply
#12
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,

Could you please provide a snapshot of ur OR where this special code resides, so that it can be easy for me to rectify the changes.

Regards,
Sankalp
Reply
#13
Solved: 11 Years, 3 Months, 4 Weeks ago
Is this enough?


Attached Files
.doc   object repository.doc (Size: 30.5 KB / Downloads: 103)
Reply
#14
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi,
Could u use this below code:
Code:
vb_text=TeWindow("Window").TeScreen("screen2").TeEdit(Special Code).GetROProperty("xx")

I really don't now with which name special code txt box will be declared it might be Teedit or something else u can use the correct one and under GetRoProperty use the property name like text or whatever u want to retrive, use object spy to identify the property u want to get.

Regards,
Sabkalp
Reply
#15
Solved: 11 Years, 3 Months, 4 Weeks ago
Thanks for your response, I have set all the values to Datatable,
now i am working on next task.

I have set the values to datatable, now I want to use these values to delete some links from the page.
now the thing is

Datatable values
1
2
3
4

I need to delete 1 2 3 4 number link from next page.
I have got the innertext of the link 1 2 3 4

now I wonder how can i do it?
If else conditions?
Reply
#16
Solved: 11 Years, 3 Months, 4 Weeks ago
Hi

Using the below code you can capture the value if particular field

Code:
vb_text=TeWindow("TeWindow").TeScreen("screen2").TeField("field id:=").Text
Enter the Field Id which you want to capture

Now you can store the value in Datatable. (vb_text)

Please let me if it is not working..
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Datatable add and datatable import sheet wheelercha 4 33,636 06-14-2012, 04:53 PM
Last Post: Arul

Forum Jump:


Users browsing this thread: 2 Guest(s)