cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot get a picture object from the input parameter.

SOLVED
Contributor

Re: Cannot get a picture object from the input parameter.

Thanks Robert,

 

1.  Object_Spy_adanced.jpg

2. error1.jpg, error2.jpg, not a lot of info here....

3. Name_Mapping.jpg, Object Browser.jpg, addtoMap.jpg

4. I am adding a waitwindow statement now and will run it......

 

Leahy

Community Hero

Re: Cannot get a picture object from the input parameter.

OK, there's a couple of things that you haven't given me.

 

1) Please unfilter your NameMapping.  There is an Aliases.hastus.form object that I'm not seeing in your screenshots.  That's the object that it cannot find.  So that's what we need to investigate.  We need to see how that is mapped.

2) We need to see ALL the properties available for that object in the Object Browser.  You're only showing the top portions.  We need to see everything.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Contributor

Re: Cannot get a picture object from the input parameter.

Here is the unfiltered name mapping (unfiltered map.jpg), I do not see the "abs10" form we are looking for.

 

I have taken screen shots of all the properties for that object. (Object Browser 1...7.jpg)

 

Something tells me the probem is with the "addtoMap.jpg". 

 

If there is anything else that might help.....

Community Hero

Re: Cannot get a picture object from the input parameter.

So, here's the deal.  That object does not exist in your listing.  However the error was pointing out that it was looking at Aliases.hastus.Form as where the problem is.... and your addtomap error is indicating that you already have the form you're looking for mapped to that item.  So, there's your problem.  It appears that your automation is looking for one name but you have it named something else entirely in your mapping.  Not exactly sure how that happened but that seems to be the case.  The status drop down that you're looking for is part of a chain of objects off of that Aliases.hastus.Form.  So, it looks like you're going to need to edit those steps in your script to point to the proper object in your Aliases tree.


Robert Martin
[Community Expert Group]
Please consider giving a Kudo if I write good stuff
----

Why automate?  I do automated testing because there's only so much a human being can do and remain healthy.  Sleep is a requirement.  So, while people sleep, automation that I create does what I've described above in order to make sure that nothing gets past the final defense of the testing group.
I love good food, good books, good friends, and good fun.

Mysterious Gremlin Master
Extensions available
Contributor

Re: Cannot get a picture object from the input parameter.

Thank you Robert !!

 

I managed to find a spot in the object browser that showed the main menu for this form. I right clicked that and mapped object (see photo).

 

Script ran fine !!!

New Here?
Join us and watch the welcome video:
Top Kudoed Authors
Join the September Hub-bub to show off, learn and win