Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to click on webbutton
#1
Solved: 8 Years, 1 Month, 2 Weeks ago
Hi,
I test one application in which I have to click save button after set value in mandatory field(web edit) .
As per application if i dont edit mandatory field then save button does not activated. But when i set value using qtp in mandatory field , still save button does not activated and i am not able to click on that.
Please help me . thanks in advance.
Reply
#2
Solved: 8 Years, 1 Month, 2 Weeks ago

  1. Use .type instead of .Set for the webedit object
  2. If that doesn't work, use FireEvent on the WebEdit object
Reply
#3
Solved: 8 Years, 1 Month, 2 Weeks ago
I tried .type and fireEvent but it didn't work.

Then I have changed replay type (setting.WebPackage("ReplayType") = 2) . It worked.

Thank you .
Reply
#4
Solved: 8 Years, 1 Month, 2 Weeks ago
Try also WebEdit("x").FireEvent "onkeyup" before clicking on the web button.
it worked for me .
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Right Click On a Image and Click on a Link in WebElement RameshKrishnan 4 5,404 07-10-2013, 04:13 PM
Last Post: RameshKrishnan
  Cannot find the "[ WebButton ]" object's parent "[ Page ]" (class Page) sumitparolkar@gmail.com 4 5,077 05-03-2013, 11:53 PM
Last Post: agarwl.anurag
  How do I left click on the right click menu in WinTreeView? RandomGrin 0 3,920 12-22-2012, 04:22 AM
Last Post: RandomGrin
  How do I left click on the Right click menu? RandomGrin 2 4,214 12-18-2012, 09:47 PM
Last Post: RandomGrin
  Not Able to Click on a webbutton silpavinod 6 4,848 10-17-2012, 12:09 AM
Last Post: agarwl.anurag

Forum Jump:


Users browsing this thread: 1 Guest(s)