Quantcast
Channel: New board topics in SmartBear Community
Viewing all articles
Browse latest Browse all 20990

TestComplete 11.20: Unable to find back an image in ImageRepository.

$
0
0

All,

 

I have an issue with Imange/checkpoint added to the ImageRepository.

 

I always got the message below:

    The image Pause_Image was not found on the mobile device's screen.

    Open the image in the editor

    Learn about possible causes of the error

 

I have added image/checkpoint via Mobile Screen and added it to my ImageRepository. However, whenever I checked it, TestComplete is unable to find the image.

 

This is weird because, I did the same for Play button and it worked perfectly. 

 

My script:

 

if(ImageRepository["SoundCloud"]["Pause_Image"]["CheckImage"]()) // replace ["Exists"]()
{
   Log["Message"]("play_Music_with_SoundCloud: "+"Pass!"+"The Music is playing now!")
}
else
{
   Log["Error"]("play_Music_with_SoundCloud: "+"Failed!"+"Unable to play music with SoundCloud!")
}


Viewing all articles
Browse latest Browse all 20990

Trending Articles