How to set focus or click on the center of webpage? - 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: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming) +--- Thread: How to set focus or click on the center of webpage? (/Thread-How-to-set-focus-or-click-on-the-center-of-webpage) |
How to set focus or click on the center of webpage? - brar.arsh - 05-19-2011 Hi, I am working on a page on which upon clicking a button, a pop up appears and no object is then recognized by qtp. I went for an approach in which i will click on the center of the page and then sendkey TAB for two times and then send ENTER. But the issue is that i am not able to click on the center of the page. Now following are the screenshots and detailed explanation. 1. Propeties of page before clicking on Add To Cart button. 2. Popup appears at the center of the page and thats why i am trying to click on center and sendkey TAB 2 times to move to continue and press enter, but no success. 3. Properties of page after Pop up appers. Please Suggest any other approach, i tried virtual objects too, but couldnt resolve this. Please respond asap. RE: How to set focus or click on the center of webpage? - brar.arsh - 05-20-2011 Any solution??? RE: How to set focus or click on the center of webpage? - brar.arsh - 05-24-2011 So nobody here to help?? Can anyone suggest any other forum where i can atleast get an answer?? RE: How to set focus or click on the center of webpage? - sundari.msls - 05-24-2011 How is the poup identified? You can also use the child objects for the image. RE: How to set focus or click on the center of webpage? - dipti - 05-24-2011 HI All, I am using the QTP for Siebel appn. I need to set focus on a drop-down field. The QTP is not seting the object when the whole script is run. but if i m running thru that particular step where I am passing the values in the drop-down field, Then its working fine. Please suggest me where I am getting wrong. Thanks, Dipti RE: How to set focus or click on the center of webpage? - souvikghosh_diatm - 05-26-2011 @@ brar.arsh::: See your question is not clear to me actually. Let me verify it once again. When ur pop up is coming then nothing is being recognized by QTP in that page.. is dat right?? Now let me know in this situation what exactly u want to do?? U want to click ant of those three buttons in that pop up?? and if this is the proper scenario then u can give a try with Extensibility accelerator version 11. This feature only support QTP version above 9.5. With the help of this tool u can make a new button class by identifying them those three button places..... try it and let me know whether it helps or not. |