systemutil.Run "iexplore.exe","http://www.mail.yahoo.com"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webtable("name:=login.*").webedit("name:=login","html tag:=INPUT").set "xyz"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webtable("name:=login.*").webedit("name:=passwd","html tag:=INPUT").set "abc"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webbutton("name:=Sign In").click
hi im swetha ....this above script itzz opening yahoo page but not typing username and password...whtzz d problm in dizz code?
The format of 'CreateObject' function is:
CreateObject(servername.typename)
please tell me from where can I retrieve the 'servername' of applications.
e.g. generally we use-
1) 'Excel.Application' for MS Excel (why haven't we used MSExcel.Application?)
2) 'InternetExplorer.Application' for Internet Explorer (why didn't we use IExplorer.Application?)
(08-19-2011 12:51 AM)sreeswetha Wrote: [ -> ]systemutil.Run "iexplore.exe","http://www.mail.yahoo.com"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webtable("name:=login.*").webedit("name:=login","html tag:=INPUT").set "xyz"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webtable("name:=login.*").webedit("name:=passwd","html tag:=INPUT").set "abc"
browser("title:=Yahoo.*").page("title:=Yahoo.*").webbutton("name:=Sign In").click
hi im swetha ....this above script itzz opening yahoo page but not typing username and password...whtzz d problm in dizz code?
Hi.. Sreesswatha i have joined today only i saw ur query and done some R&d and found that webedit object doesn't have webtable object as its parent, so remove the webtable parent object from your code then run the script. it will work fine i tried it
Bye
S_shiva
(05-29-2008 04:26 PM)Ankur Wrote: [ -> ]so you have eliminated the need for using methods like systemutil.run and Invoke Application....you are on a right track...
Start recording your script now, that's why QTP is there for 
You can read more about Internet Explorer Automation Object Model here... http://msdn.microsoft.com/en-us/library/ms970456.aspx
Thanks for nice infomation it is helpful
dim objexplorer, pagina, pagina2
set objexplorer = CreateObject("InternetExplorer.Application")
objexplorer.visible = true
objexplorer.navigate "http://www.google.it"
Set pagina = description.Create()
pagina("micclass").value= "Page"
Set pagina2= objexplorer.childobjects(pagina)
now try by executing above script