Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Web Testing
#1
Not Solved Rolleyes 
Hi everyone,

Code:
SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe"
Browser("CreationTime:=0").Navigate"http://www.adisocial.com/"
Browser("CreationTime:=0").Sync

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...
Reply
#2
Not Solved
Code:
SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe"
Browser("CreationTime:=0").Navigate"http://www.adisocial.com/"
Browser("CreationTime:=0").Sync
B().P().WebElement("name:=Username,innertext=user").set abcd
B().P().Webelement("name:=Password").setSecure 123456
B().P().WebButton("name:=SignIn").click


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
Reply
#3
Not Solved
Thanks for the reply Diya Smile
appreciated Smile

Regards
Adi
Reply
#4
Not Solved
Elaborate about your problem so that i can send you the script
Reply
#5
Not Solved

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
Reply
#6
Not Solved
Finally got the answer....
I was confused actually ....lol
Code:
SystemUtil.Run"C:\Program Files\Internet Explorer\iexplore.exe"
Browser("CreationTime:=0").Navigate"http://www.gmail.com"
Browser("CreationTime:=0").Sync
Browser("CreationTime:=0").Page("title:=.*").WebEdit("html id:=Email").Set"aditya"

We can Page("title:=.*")
it will use for every browser... But one doubt .. Wen i am running this script .. 2 IE is opening
Reply
#7
Not Solved
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..
Reply
#8
Not Solved
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
Reply
#9
Not Solved
I am facing problem when i want to open compose mail in gmail from qtp
Reply
#10
Not Solved
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...
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Web Testing and Unexpected Server Errors zunebuggy 0 1,166 01-24-2018, 11:41 PM
Last Post: zunebuggy
Smile Very Complex Web Testing zunebuggy 1 1,381 11-22-2017, 02:26 PM
Last Post: supputuri
  Testing Web Services sohalshah 10 8,225 04-17-2014, 01:29 AM
Last Post: Tp123
  QTP Automation testing steps for .net web applications? Ramadas 0 2,184 10-30-2013, 12:54 PM
Last Post: Ramadas
  Web Services Testing using QTP VVKumar 0 1,853 10-01-2013, 01:13 PM
Last Post: VVKumar

Forum Jump:


Users browsing this thread: 1 Guest(s)