Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Extra browser window open during parameterization
#1
Solved: 11 Years, 4 Months ago
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..

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
Reply
#2
Solved: 11 Years, 4 Months ago
if you record the closing event of your app...it should give something like this

Browser("XXXX").Close

Use this before starting a new iteration.
Want to fast track your QTP/UFT Learning? Join our UFT Training Course
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Action Parameterization Issue Slothman 1 1,961 10-31-2020, 01:05 PM
Last Post: Ankur
  Business Components Parameterization YogeshCallappa 0 1,621 06-07-2017, 04:32 PM
Last Post: YogeshCallappa
  Parameterization Hanskanika 0 1,645 11-20-2015, 04:45 PM
Last Post: Hanskanika
  Is it possible to call Java window and Power Builder Window in 1 Action sbkhbk 0 2,533 06-05-2014, 08:18 PM
Last Post: sbkhbk
  When QTP is open am not able to open my AUT. chetan3987 2 3,099 02-12-2014, 01:18 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)