Not Able to Click on a webbutton - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Not Able to Click on a webbutton (/Thread-Not-Able-to-Click-on-a-webbutton) |
Not Able to Click on a webbutton - silpavinod - 10-15-2012 I am having one Webedit box beside that i am having a select button... I need to click on select button and upload a file from a path "c:/....." I am able to identify the select button but not able to click on it I tried by recording but it is not able to record. And i tried in this : Code: Set odesc=Description.Create And i tried by passing the path directly to the webedit but it is not validating... Please help me... RE: Not Able to Click on a webbutton - agarwl.anurag - 10-15-2012 Hi, You can use the combination of the sendkey to click on that button eg: Code: Set key=createobject("WScript.Shell") Thanks ANurag RE: Not Able to Click on a webbutton - sshukla12 - 10-16-2012 Hi, Try to use device replay.. it might help u. Regards, Sankalp RE: Not Able to Click on a webbutton - silpavinod - 10-16-2012 Hi sankalp Code: Set DeviceReplay = CreateObject("Mercury.DeviceReplay") I worked with send keys but not able to click on the webbutton....and i worked with devicereplay too.. is there any other way... Note: i am not able to record the webbutton.. RE: Not Able to Click on a webbutton - sshukla12 - 10-16-2012 Hi, Try to use below code: Code: Setting.WebPackage("ReplayType") = 2 '2-Runs mouse operations using the mouse Sankalp RE: Not Able to Click on a webbutton - silpavinod - 10-16-2012 Hi sankalp, it is working fine thanks a lot.. RE: Not Able to Click on a webbutton - agarwl.anurag - 10-17-2012 Hi, Can you please check manually whether you are able to click on it or not..bcoz i dont think that these to methods will not work. Thanks ANurag |