Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Inserted WebEdit value is not sticking in UFT during playback
#1
Not Solved
My application has a dropdown, UFT is recognizing it as WebEdit. I am able to record dropdown but during playback inserted value is not sticking. Getting cleared as cursor moves out of that field.

Tried all these diff ways but none of them worked:

1.
Code:
Browser("abc").Page("abc").WebEdit("d-0184").object.value    = "Corporation"
2.
Code:
Browser("abc").Page("abc").WebEdit("d-0184").Set "Corporation"
3.
Code:
Set WshShell = CreateObject("WScript.Shell")
    Browser("abc").Page("abc").WebEdit("d-0184").Click
    WshShell.SendKeys("Corporation")
    Set WshShell = Nothing
4.
Code:
Setting.WebPackage("ReplayType") = 2
    Browser("abc").Page("abc").WebEdit("d-0184").Set "Corporation"
    Setting.WebPackage("ReplayType") = 1

None of above codes are throwing any error but during playback value is not sticking into the field. Getting cleared out after exiting that field.

Can someone suggest me any diff approach?

Thanks,
Priya
Reply


Messages In This Thread
Inserted WebEdit value is not sticking in UFT during playback - by priyaUFTlearner - 04-10-2015, 09:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Playback causes different behavior than manual RandomGrin 1 2,308 12-24-2012, 01:58 PM
Last Post: elango87
  Doesn't recognise parent window during playback Derben 2 3,888 03-20-2009, 08:04 PM
Last Post: Derben
  Cannot Playback my script-getting general Run Error rajeshvelur 2 4,021 10-23-2008, 06:57 PM
Last Post: anemuday
  Actions recorded in IE 6 won't playback in IE 7 Steve Groves 4 3,999 10-07-2008, 10:11 AM
Last Post: Ankur
Shy Problem in Playback alok.mahajan 1 2,536 08-26-2008, 02:29 AM
Last Post: myqtp

Forum Jump:


Users browsing this thread: 1 Guest(s)