Micro Focus QTP (UFT) Forums

Full Version: Application UI Changed, not detecting earlier objects
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All,

I am scripting for an application for the last 6 months. Yesterday application UI is changed, hence earlier objects are not detecting.
So I would like to know if any short cuts are there to run the earlier code.

Here is the example..



Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP_Fill_Panel").SwfButton("swfname:=btnUsers").Click

This was the code which I have written and was running smoothly. But after UI change code need to change as follows.

Set oParent=SwfWindow("swfname:=KTPWICP")
oParent.SwfObject("swfname:=KTPWICP").SwfButton("swfname:=buttonUsers").Click

Many actions are there, so it is very difficult to change all the scripts manually.. so is it any short cuts are there to run the application with already written code. ??

Thanks in Advance,
Firoz