AdvancedQTP Forums
Sponsored by Solmar Knowlege Networks
Return to advancedqtp
Home
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Advanced search
18120
Posts in
4741
Topics- by
31743
Members
- Latest Member:
suuraj
you are here:
AdvancedQTP Forums
»
AdvancedQTP Forums
»
General QTP Q&A
» (Moderators:
Paul Grossman
,
Stefan Thelenius
,
Asiq Ahamed
)How to Verify that Mouse Curser is on which Text Box??
corp-lt Theme designed by
padexx
« previous
next »
Pages: [
1
]
Go Down
0 Members and 1 Guest are viewing this topic.
Author
Topic:
How to Verify that Mouse Curser is on which Text Box??
(Read 163 times)
DEVENDRA SHARMA
Active User
Offline
Posts: 85
How to Verify that Mouse Curser is on which Text Box??
«
on:
March 03, 2010, 12:28:11 PM »
How to Verify that Mouse Curser is on which Text Box i.e. I have 2 Text Boxes "UserId" & "Password", now I want to verify that on which Text Box Mouse Curser is present?
Please find the source code as an attachment.
Looking forward for your positive response!!!
Thanks,
Devendra Sharma
Logged
'Knowledge of our own limitations is the key to success'
Asiq Ahamed
Moderator
Sr. User
Offline
Posts: 459
Re: How to Verify that Mouse Curser is on which Text Box??
«
Reply #1 on:
March 03, 2010, 08:43:01 PM »
Hi Sharma,
Can you try the below method?
Code
GeSHi (qtp):
If
Browser
(
"name:=Google"
)
.
Page
(
"title:=Google"
)
.
Object
.
activeElement
.
type
=
"text"
Then
Msgbox
Browser
(
"name:=Google"
)
.
Page
(
"title:=Google"
)
.
Object
.
activeElement
.
Name
End
If
Created by GeSHI 1.0.7.20
Let's see others' solution also.
Logged
DEVENDRA SHARMA
Active User
Offline
Posts: 85
Re: How to Verify that Mouse Curser is on which Text Box??
«
Reply #2 on:
March 04, 2010, 04:33:30 AM »
Thanks!!!
Logged
'Knowledge of our own limitations is the key to success'
Pages: [
1
]
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
AdvancedQTP
-----------------------------
=> Bulletin Board
-----------------------------
AdvancedQTP Load & Performance Forums
-----------------------------
=> Load & Performance Q&A
-----------------------------
AdvancedQTP Forums
-----------------------------
=> General QTP Q&A
=> Web Q&A
=> Web Services Q&A
=> .Net Q&A
=> Java Q&A
=> ActiveX Q&A
=> SAP Q&A
=> TE Q&A
=> Siebel Q&A
=> Quality Center Q&A
-----------------------------
AdvancedQTP Products Support
-----------------------------
=> Reporter Manager Q&A
-----------------------------
AdvancedQTP Free Tools Forums
-----------------------------
=> AutoIt Q&A
-----------------------------
FR Project Forum
-----------------------------
=> FR Project
-----------------------------
AdvancedQTP Forums Support Center
-----------------------------
=> TroubleShooting
Loading...