question

kalika_jain avatar image
kalika_jain asked kalika_jain posted

form maps

Hii...

I have created a form map library which is a seperate project than the project in which the test cases that use those form maps are placed. I have specified the project depdencies in the 'project properties' pane.

 

But when I create a new form map, it do not automatically get visible in the test case (in the context field of step properties). How can I achieve this?

 

Thanks

iTestGUI Testing(Web-Java Swing-etc)
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
PreetS avatar image
PreetS answered PreetS posted

You need to select the form map library in the session profile for the context menu to get populated.

I believe it is in the "Misc" page of the session profile

4 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

kalika_jain avatar image kalika_jain commented ·
I already did that...
0 Likes 0 ·
KumarS avatar image KumarS kalika_jain commented ·

I tried it right now - I created a new form map library. I added a form map to it. I added a sample to the form map and a few targets.

 

Then I created a session profile for web application and under "misc" tab, I set the form map library to my newly created library.

 

Then I created a new testcase using this session profile. Once I did that, I can see the form map name in the "context" list of my steps for this session and I can use target queries in my target list.

 

I did this using iTest 3.4 - but the steps should be indentical for 3.3 or 3.2. Is it possible that the library is not marked as a form map library? If you right click on the form map library, you can click on "Properties" in the context menu and check if "Form map library" is checked in the "iTest Project Natures" page. You can also see this in iTest explorer itself because "folder icon" of a form map library is decorated with a big "F".

0 Likes 0 ·
kalika_jain avatar image kalika_jain KumarS commented ·

I checked everything you said....its ok..

the form map library and the test cases are under 2 diff projects....

 

But when I closed the iTest and then reopen it...the context menu was populated with the form maps...

 

So the problem was solved but I don't understand the cause and solution of the problem.

0 Likes 0 ·
KumarS avatar image KumarS kalika_jain commented ·
Most likely this was due to "builder". iTest has a background sub-system which scans through different projects building a cache of information which is used by iTest. This subsystem is the builder. You can access its functionality through the main menu under "Project". You can do a "clean" which causes all the built information to be thrown away and rebuilt. Most likely, there is a bug in iTest where this "built" information for form map library was not available till iTest restarted.
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.