Geeks Talk

Prepare for your Next Interview




Shows whole window as one object rather detecting individual objects

This is a discussion on Shows whole window as one object rather detecting individual objects within the SilkTest forums, part of the Software Testing category; I am working on web application and most of its wizards developed on flash Controls such as (Window, Combo, Pushbutton, etc). When I record the wizards it shows the whole ...


Go Back   Geeks Talk > Software Testing > SilkTest

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-05-2007
Junior Member
 
Join Date: Jul 2007
Location: Pune
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
piseamol is on a distinguished road
Shows whole window as one object rather detecting individual objects

I am working on web application and most of its wizards developed on flash Controls such as (Window, Combo, Pushbutton, etc). When I record the wizards it shows the whole window as one object rather detecting its individual objects.

Can Silktest 7.5 recognized such individual component during recording.

I just wanted know how to by pass this problem.

Your comments always welcome...
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-01-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi,
I have the same problem like you. I have this java application. Silktest identifies the complete window as a dialogbox and none of the objects (there are button, tree view etc..) inside it.

I am not sure if the java extensions are enabled. When i run through the extension enablement process the "Test" button on "Test Extension Settings" does not get enabled at all.
Do you think i might need some plugins?
I am running Silktest version 7.1. The application uses Java version 1.4.2.

Can some one help please?

Thanks in advance.
Sajith
Reply With Quote
  #3 (permalink)  
Old 05-04-2008
Junior Member
 
Join Date: May 2008
Posts: 25
Thanks: 1
Thanked 2 Times in 2 Posts
sabariish is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Quote:
Originally Posted by sajithkutty View Post
Hi,
I have the same problem like you. I have this java application. Silktest identifies the complete window as a dialogbox and none of the objects (there are button, tree view etc..) inside it.

I am not sure if the java extensions are enabled. When i run through the extension enablement process the "Test" button on "Test Extension Settings" does not get enabled at all.
Do you think i might need some plugins?
I am running Silktest version 7.1. The application uses Java version 1.4.2.

Can some one help please?

Thanks in advance.
Sajith
Hi Sajith

Try doing this and let me know if it helps

1. Copy the SilkTest_Java3.jar file from SilkTest\JavaEx folder to the JRE\ lib\ext folder.
2. Rename the file access3.prop in the Silk Test folder to accessibility. Properties.
3. Copy the accessibility. Properties file from Silk Test folder to JRE\lib folder.
4. Copy the files qapjconn.dll and qapjarex.dll from Silk Test\Extend folder to
Windows\System32 folder.

Thanks
Sabarish S
Reply With Quote
  #4 (permalink)  
Old 05-05-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi Sabarish,
Thank you for responding.
I tried what you suggested. Didn't help. Silktest still sees the Dialogbox, nothing inside it. The "Test" button on "Test Extension Settings" still does not get enabled.
Do you think I need some plugins/addins?
Let me know if you need more information to dig through.
Thanx once again.
Reply With Quote
  #5 (permalink)  
Old 05-06-2008
Junior Member
 
Join Date: May 2008
Posts: 25
Thanks: 1
Thanked 2 Times in 2 Posts
sabariish is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Quote:
Originally Posted by sajithkutty View Post
Hi Sabarish,
Thank you for responding.
I tried what you suggested. Didn't help. Silktest still sees the Dialogbox, nothing inside it. The "Test" button on "Test Extension Settings" still does not get enabled.
Do you think I need some plugins/addins?
Let me know if you need more information to dig through.
Thanx once again.

Hi Sajith

Oh so did you enable the java extensions ???
if not go to - Options->Extensions and enable Java Extensions for a JAVA Application.

Keep me posted with your findings.
Also id this not works gime few more details (SilkTest version you are using etc...)

Thanks
Sabarish
Reply With Quote
  #6 (permalink)  
Old 05-06-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi Sabarish
I have already tried enabling extensions. To be honest i am not sure if i did it right.
If Program.exe was my AUT for which i need to enable extension, am i suppose to browse to program.exe for enabling extenstion? If not, what would it be? [IMG]c:\snapshot.JPG[/IMG]
Can it be so that silk currently has the class libraries of a different version of Java than the one that my AUT is using? Do you think i might need to install JDK or JRE or anything?
I am running Silktest version 7.1. The application uses Java version 1.4.2.
What other information would you need?
Regards
Sajith
Reply With Quote
  #7 (permalink)  
Old 05-06-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Ohh the image did not get through.
Attached Images
File Type: jpg snapshot.JPG (88.5 KB, 3 views)
Reply With Quote
  #8 (permalink)  
Old 05-06-2008
Junior Member
 
Join Date: May 2008
Posts: 25
Thanks: 1
Thanked 2 Times in 2 Posts
sabariish is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi
I dont think we need to add a .ddll and .exe files as Java Support is configured automatically when you use Enable Extension.

If your application is recognised in the Enable Extension (WorkFlow Bar) then you may not add the .dll's.

Point1:-
Let me know if your application is web-based or standalone

Point2:-
In order for SilkTest to recognize Java controls, you may need to change the CLASSPATH environment variable. In addition to that for JVM/JRE 1.3+, you must also copy the applicable SilkTest .jar file to the lib\ext folder of your JVM/JRE. The SilkTest .jar file is located in the <
SilkTest Install Directory>\JavaEx directory.

Point 3:
For Java 1.3, 1.4, and higher, you should not set a specific classpath variable – instead, use the default CLASSPATH=.; You must copy the SilkTest_Java3.jar file to the lib\ext folder of your JVM/JRE, and remove any previous SilkTest JAR files.

Point 4:
Let me know how you are running your application from .lax file or are you using JBuilder/JDeveloper.

Last if its possible a screenshot of your application.
Reply With Quote
The Following User Says Thank You to sabariish For This Useful Post:
  #9 (permalink)  
Old 05-07-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi Sabarish
I installed JRE on my test machine and then copied the SilkTest .jar file to the lib\ext folder inside JRE installation folder. When i did it last time i had copied the jar file to jre\lib\ext folder inside my AUT installation folder, which is where i goofed up.
A big thank you. You are a star. :-)
Silk seems to be knowing the objects inside my AUT. Although, its identifying all of them as customwin, i think i can try mapping them to the appropriate standard classes.
Could you spare few more minutes and explains how these are interlinked?

Well i have one more issue related to class mapping with another application which i'm working on simultaneously (an extension of the issues you just solved for me). I shall start a separate thread for that. I think you can help me with that too.

Thanks one again.
Sajith
Reply With Quote
  #10 (permalink)  
Old 05-09-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi,
Just to update you on where i stand with the Java application. Now Silktest apparently knows all the controls on my Java application. Most of the objects have been assigned the appropriate Java classes. Only few customwins, none that would bother... not so far.

To summarize, following is what i had to do to get Silktest up and running with my Java Application:
1) Install JDK and JRE (version 1.6 used when I did it).
2) Copy C:\Program Files\Segue\SilkTest\JavaEx\SilkTest_Java3.jar to C:\Program Files\Java\jre1.6.0_03\lib\ext (JRE's lib\ext folder).
3) Enable extension for AUT; both in Extension Enabler and Options -> Extension. Click New and browse to .exe and Click OK. Check the check box under Java against newly added AUT.

Keep JavaEx.inc unchanged. Unnecessary commenting would prevent silktest from ignoring some unnecessary classes but at the same time it may lead to class ambiguity and improper classes may be assigned to the Java objects.

Cheers
Sajith
Reply With Quote
  #11 (permalink)  
Old 05-15-2008
Junior Member
 
Join Date: May 2008
Location: India
Posts: 18
Thanks: 1
Thanked 1 Time in 1 Post
sajithkutty is on a distinguished road
Re: Shows whole window as one object rather detecting individual objects

Hi,
I realized that on top of what I listed in my previous post, one has to do the following in order to have silk identify java objects on a standalone application.

1) Copy accessibility.properties from SilkTest folder to AUT's \jre\lib folder.
2) Copy SilkTest_Java3.jar from SilkTest folder to AUT's \jre\lib\ext folder.
3) Copy qapjconn.dll and qapjarex.dll from SilkTest folder to \Windows\System 32 folder.
4) Restart the computer after making all the above changes (including the ones in the previous post.)

This is all of what I had. If someone else has a different set of settings to make that would be a revelation.

Regards
Sajith
Reply With Quote
Reply

  Geeks Talk > Software Testing > SilkTest


Thread Tools
Display Modes


Similar Threads

Thread Thread Starter Forum Replies Last Post
Shows subject and test name, but all steps are missing Geek_Guest Test Director 3 03-28-2008 06:35 AM
abt object repository,virtual objects psuresh1982 C and C++ 4 11-22-2007 05:32 AM
Actual Window Menu is the unique extension of standard window menu that provides adva JobHelper Geeks Lounge 0 04-25-2007 07:30 AM
We are not able to identify individual fields disari.das WinRunner 0 04-24-2007 04:47 AM
Hide Window Plus is a tool that allows you to hide any window from the screen and the JobHelper Geeks Lounge 0 03-31-2007 02:30 PM


All times are GMT -4. The time now is 07:01 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 GeekInterview.com. All Rights Reserved