01-23-2008, 12:32 AM
I'm new to QTP. For past week, we installed QTP in our office and implemented in project we mainly doing web application so guys please resolve my issue whatever i posted in this forum even if i post some silly question also please answer and help me.
Today i faced one problem that i doing parameterization testing today..
I changed the Browser name as Gmail instead of my project name and during data driven i prepared data in two columns and two rows. During first iteration one window open and start operation and successfully finished then this window remain there and one more window open but process can't take place, it simple shown as blank page and second iteration start in the first window itself.
The unwanted one IE window open. My question is how to remove the extra IE window?
Velan
Today i faced one problem that i doing parameterization testing today..
Code:
SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE","","C:\Documents and Settings\Administrator","open"
Browser("Gmail").Page("Page").Sync
Browser("Gmail").Navigate "http://www.gmail.com"
Browser("gmail").Page("gmail").WebEdit("username").Set DataTable("Username", dtGlobalSheet)
Browser("gmail").Page("gmail").WebEdit("pwd").Set DataTable("Password", dtGlobalSheet)
Browser("gmail").Page("gmail").Image("image").Click 25,10
I changed the Browser name as Gmail instead of my project name and during data driven i prepared data in two columns and two rows. During first iteration one window open and start operation and successfully finished then this window remain there and one more window open but process can't take place, it simple shown as blank page and second iteration start in the first window itself.
The unwanted one IE window open. My question is how to remove the extra IE window?
Velan