Need to validate Fading Text.

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Need to validate Fading Text.

Post by phani.2905 » Wed Dec 04, 2013 7:09 am

Hi all :) ,

I need to validate Success message which fades away in 5 seconds. But the issue is that, i am working through Remote Desktop and using Record and Playback method. By the time i click on Validate button and highlight success message in the application, it is fading away. Why does validate takes long time to highlight object.

Thanks in advance ,
A.R.Phanindranath.

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Need to validate Fading Text.

Post by krstcs » Wed Dec 04, 2013 2:35 pm

You could just click on the notification during recording and then change the action to a validation in Ranorex when you are done.

All you are really needing is the repository object for the notification toast, which will be created if you click it during recording. You can then use that repository object for the validation by dragging it into the proper place in the action table and selecting the type of validation you want. You could then delete the "Click" action.
Shortcuts usually aren't...

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Need to validate Fading Text.

Post by phani.2905 » Tue Dec 10, 2013 12:41 pm

krstcs wrote:You could just click on the notification during recording and then change the action to a validation in Ranorex when you are done.

All you are really needing is the repository object for the notification toast, which will be created if you click it during recording. You can then use that repository object for the validation by dragging it into the proper place in the action table and selecting the type of validation you want. You could then delete the "Click" action.
Hi,

:) Thanks for responding, You resolved my issue.

With Regards,
Phani

phani.2905
Posts: 41
Joined: Thu Nov 07, 2013 12:19 pm

Re: Need to validate Fading Text.

Post by phani.2905 » Thu Jul 17, 2014 11:18 am

Hi,

There is a success message which need to fade away after 5 seconds. For validating the non visibility of success message i used "Does not exist" property of the web element. But Ranorex says that element is present. It seems the success message gets hidden after 5 seconds, But Ranorex treats it as visible. Tried some other properties like Hideen , Had Focus etc. But could not succeed.

Can any one help me with this.

Thanks in advance,
A.R. Phanindranath

krstcs
Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: Need to validate Fading Text.

Post by krstcs » Thu Jul 17, 2014 1:15 pm

Could you upload snapshots of the app when the item is both visible and not-visible?
http://www.ranorex.com/support/user-gui ... files.html

Without that it would be very hard for us to help because we don't have very much information about the actual application under test.
Shortcuts usually aren't...