Ask a Question

Property Checkpoint problem

SOLVED
Blur
Contributor

Property Checkpoint problem

Hello, I'm trying to use the Property Checkpoint on a flyout notification bubble but TestComplete isn't detecting the right text.  The 'actual' value it gets is the name of the flyout - "User Must".  But my 'expected' value is the text inside the bubble, specifically the text that is boxed in provided in the screenshot.  Thanks.

 

 

9 REPLIES 9
Marsha_R
Champion Level 2

Would you get a screenshot of Object Spy with Extended properties for this object and post it?  That might help.

I was trying to do that and send a screenshot of that as well.  However, when attempting to use the object spy, the flyout bubble goes away.  It stays when I try to use the property checkpoint.

Marsha_R
Champion Level 2

Is the bubble its own object in your name mapping?  If so, you can get to the properties from there.

 

If not, just get as close as you can with Object Spy and let's look at that.

I forgot about the Point and Fix function of the object spy.  I was able to get the properties using that.  Here are the screenshots.

Marsha_R
Champion Level 2

Okay so

 

Aliases.browser.pageAutomationInstinctbetaGongos12.panelPartialprofile.formEditprofileform.panelpanelpanel.contextText

 

is your bubble text (call it bubbletext for short) and to get just the middle text, you want something like

 

If  aqString.Find(bubbletext,'Not Already Be In Use') = -1  then

    Log.Error("not found")

else

    Log.Message("found")

 

 

https://support.smartbear.com/viewarticle/71913/

Is scripting the only way I can do it?  I'm only using keyword testing at the moment.

Marsha_R
Champion Level 2

You can do both!  🙂

 

See attached screenshot.

Thanks for the help.  I think I should be able to figure this out.

Marsha_R
Champion Level 2

Any time!

cancel
Showing results for 
Search instead for 
Did you mean: