UFT not identifying objects the same way when run using a Remote session (script was developed by remoting into same machine)
Question ID: 107500
0
0

Hello,

i’m fairly new to the Automation and am facing issues with running my tests from QC-ALM. I’ll try to explain the problems step-by-step:
1. I developed scripts on a PC by remoting into it from my desktop.
2. UFT is installed on both machines
3. ALM is on my Desktop
4. configured to "allow other HP products
5. Connectivity add-in is installed on both the Host (UFT) machines as well as the QC machine.
6. when I open UFT on the remote machine (using RDP) and run the script it works as expected
7. when I try to run the test from QC(ALM), the test fires up and starts byt it does not identify the objects the same way (Note: i RDP into the machine and keep the window maximised)
8. Eg., when i developed through RDP session, an object was identified as: VbWindow("vbname:=frmSplash").VbWindow("vbname:=frmDisclaimer").Click 972,301
9. but when i tried to run the test through QC-ALM, it does not work, instead it identifies the same as this: window("text:=Control Room Client","x:=1409","y:=322").Window("regexpwndclass:=ThunderRT6FormDC","x:=761","y:=362").Click 972,301

I’m not sure why this is happening as i developed the scripts using RDP session to start with as i was planning to run them using QC-ALM

any advice/guidance will be greatly appeaciated.

thanks and regards
Murrali

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on March 16, 2017 2:04 am
145 views
Answers (1)
0
Private answer

Is the machine locked when you are running the tests from ALM?

Marked as spam
Posted by (Questions: 2, Answers: 477)
Answered on April 28, 2017 4:59 pm
EyeOnTesting

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

X
Scroll to Top