Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

How do we set focus on a window

This is a discussion on How do we set focus on a window within the QTP forums, part of the Software Testing category; I was recording a window application on clicking a button i am getting another window i want to set foucs on this new window Do we have any command like ...

Go Back   Geeks Talk > Software Testing > QTP
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 01-06-2008
Junior Member
 
Join Date: Jan 2008
Location: US
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
mannyr2k is on a distinguished road
How do we set focus on a window

I was recording a window application on clicking a button i am getting another window i want to set foucs on this new window

Do we have any command like window_setfocus in QTP
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-06-2008
Moderator
 
Join Date: Oct 2007
Location: Frankfort, KY
Posts: 283
Thanks: 3
Thanked 54 Times in 36 Posts
Anshoo_Arora is on a distinguished road
Re: How do we set focus on a window

Did you try using Creationtime? Something like this:

Browser("creationtime:=1").Page("").WebEdit("").Set "SomeVal"
Reply With Quote
  #3 (permalink)  
Old 4 Weeks Ago
Junior Member
 
Join Date: Oct 2009
Location: Pune
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
nachiket1986 is on a distinguished road
Re: How do we set focus on a window

We can use following property -

Browser("").Page("").frame("").Object().SetToProperty "Focus",True
Reply With Quote
Reply

  Geeks Talk > Software Testing > QTP

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
GD-003 Should IT Companies in India focus on products or on services Lokesh M Group Discussions 7 08-12-2008 03:23 AM
Actual Window Menu is the unique extension of standard window menu that provides adva JobHelper Geeks Lounge 0 04-25-2007 08:30 AM
Hide Window Plus is a tool that allows you to hide any window from the screen and the JobHelper Geeks Lounge 0 03-31-2007 03:30 PM
How to focus the idea RyanJames Interviews 2 10-01-2006 05:31 PM
How to focus my idea norman Interviews 1 08-08-2006 03:36 PM


All times are GMT -4. The time now is 09:46 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved