Micro Focus QTP (UFT) Forums
Need help on Urgent Basis--GWT related problem.. - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: VB Scripting/Descriptive Programming (https://www.learnqtp.com/forums/Forum-VB-Scripting-Descriptive-Programming)
+--- Thread: Need help on Urgent Basis--GWT related problem.. (/Thread-Need-help-on-Urgent-Basis-GWT-related-problem)



Need help on Urgent Basis--GWT related problem.. - souvikghosh_diatm - 08-23-2011

hii all....

Today i'm asking help for a very typical problem..

I have one smart GWT 2.4 application which i'm automating presently..till now i was working on QTP 11.00 demo version and was using IE 7.....Today i have been introduced with a new addin for Mozilla FF 3.6..widout this addin qtp does not spport Mozilla...every button of this application was identified by QTP as an WebElement...and i was using the following code to click on that button or webelement object--

Browser("B").Page("P").WebElement("WE").Click

And this code was working successfully in IE..bt the prblem is that this code is not working in Mozilla..Its not giving any run time error..its also taking the focus on that particular object bt the exact thing is not happening...jst the color of the button is getting changed as click event has been performed on that...

Suppose if i write d same code for login button, its clicking on login button, and the color of d login button is getting changed as it seems click operation has been performed on that button bt d login is not happening...
I hv tried with fire event, dynamic DP, using OR, but each n every time i was getting the same result as i mentioned above...


Refer d screen shot to get what exactly happening...

I even was not able to understand n diagnose the exact problem....Can any one tell me what is d problem and what wuld be d possible suggestion dat i can try with????

Any help or suggestion will be highly appreciated....


-------------
Thanx.




RE: Need help on Urgent Basis--GWT related problem.. - souvikghosh_diatm - 08-23-2011

Any solutions????????

Or any suggestions???????

Get me out of this plzzz.........






------------
Thanx.


RE: Need help on Urgent Basis--GWT related problem.. - sreeni - 08-23-2011

[quote='souvikghosh_diatm' pid='17703' dateline='1314088975']
Any solutions????????

Or any suggestions???????

Get me out of this plzzz.........

I Faced this use Anolog recording it might be.




------------
Thanx.
[Sreeni]




RE: Need help on Urgent Basis--GWT related problem.. - souvikghosh_diatm - 08-23-2011

Thanx a lot for ur reply but sreeni i did not understand wat u tried to say....

Can u plzz explain it???




--------------
Thanx.


RE: Need help on Urgent Basis--GWT related problem.. - sreeni - 08-23-2011

[quote='souvikghosh_diatm' pid='17705' dateline='1314100781']
Thanx a lot for ur reply but sreeni i did not understand wat u tried to say....

Can u plzz explain it???

Click on record --> go to automation --> click on anolog recording --
> add ur browser --> click on login
It will generate single line code, Paste that code instead of login script line


--------------
Thanx.
[Sreeni]




RE: Need help on Urgent Basis--GWT related problem.. - souvikghosh_diatm - 08-23-2011

Well thanx for the suggestion but just tell me does it provide any result???

More than that my approach is with DP...so i cant keep anything in OR...And it is not the matter of just login button, even i can not click on any webelement whether its login button, or any other button or any combo dropdown or any tree menu or any thing......click is not working....

Did u try this on Mozilla and QTP 11.00 and on a smart GWT 2.4 application???

Any better suggestion sreeni?????drop me a mail in "souvikghosh.diatm@gmail.com"

By d way Thanx once again for the help......


--------------
Thanx.


RE: Need help on Urgent Basis--GWT related problem.. - souvikghosh_diatm - 08-25-2011

Well, i have found out the solution by doing RND on it....

Ankur can close this thread.....



-----------
Thanx.


RE: Need help on Urgent Basis--GWT related problem.. - mwaikar - 02-19-2012

I just want to know what R n D you did.
Please help, I m just frustrated because of this smartgwt problem.