![]() |
Web Testing - 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: Web Testing (/Thread-Web-Testing) |
Web Testing - adityapant27 - 12-20-2012 Hi everyone, Code: SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe" I want to test for username and password ? What will the next script here.... ? I am facing problem when i am usiing Obect Spy .... What else we can write after that ? Regards Adi Is there any demo website that we can test... RE: Web Testing - diya - 12-20-2012 Code: SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe" i gave a sample for webelement you need to look in object spy and write down the same in the code what u find for web element username,Password,Login/sign in button RE: Web Testing - adityapant27 - 12-20-2012 Thanks for the reply Diya ![]() appreciated ![]() Regards Adi RE: Web Testing - vinod123 - 12-21-2012 Elaborate about your problem so that i can send you the script RE: Web Testing - adityapant27 - 12-21-2012 Hi Vinod, Like suppose i want to test a gmail website. Then do we have to test the website using Object Spy... or there is difference in testing Windows application from Web based application. Regards Adi RE: Web Testing - adityapant27 - 12-22-2012 Finally got the answer.... I was confused actually ....lol Code: SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe" We can Page("title:=.*") it will use for every browser... But one doubt .. Wen i am running this script .. 2 IE is opening RE: Web Testing - adityapant27 - 12-22-2012 I am facing when i tries to open compose mail... error says.. more thn one object ... I know wats this error.. but i have tried all the combinations.. RE: Web Testing - adityapant27 - 12-22-2012 Now i want to use firefox 3.5.... but when i am running the script.. 2 different browser are opening.. one is IE and another on is Firefox 3.5 RE: Web Testing - adityapant27 - 12-24-2012 I am facing problem when i want to open compose mail in gmail from qtp RE: Web Testing - adityapant27 - 12-25-2012 For opening the compose mail in gmail.. what script we will write I write Line (9): Code: "Browser("CreationTime:=0").Page("title:=.*").WebElement("abs_y:=370").Click". But it says more then one object matching... I ave tried all the combinations.. Please let me know wat else we can do... |