Site MapAccessibilityContact Us

Call us at (855) 254-1164 to learn more about Enterprise

PushToTest - Open Source Test

Welcome, Guest
Please Login or Register.    Lost Password?
Forum is locked
Not able to record the script Forum is locked
(1 viewing) (1) Guest
Testing Ajax applications using Selenium, Sahi, and TestMaker
Go to bottomPage: 1
TOPIC: Not able to record the script
#589
Not able to record the script 2 Years ago Karma: 0
Hi,

i install the testmaker 6 and i try to record the script through the designer tool in the test maker but i cant able to do it i check all the solution given by u and when i start recording it do nothing,

can i able to record through any other recorder and run it in testmaker if so means which kind of recorder i use provide the link i try sahi recoder also its not work

and where we find the response time of the transation in result..

please help me to reslove it.
indira_w
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#591
Re: Not able to record the script 2 Years ago Karma: 0
First of all, you can use selenium ide (a firefox plugin) to record a script. Then, you can use the selenium script to create a functional test [script type: selenium rc, browser: firefox].

Regarding TestMaker recorder:

1. What error you are getting when you are trying to record? [you can see the error at Console-> Windows Menu-> Output -> SahiProxy and Designer tab].
2. Which browser you want to use for recording purpose?
3. Make sure that you have entered correct path and options for the browser you want to record.

Still it does not help, feel free to send me the error details & screen-print for more investigation.
reetan
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
#597
Re: Not able to record the script 2 Years ago Karma: 0
when i try to record using selenium means i stuck nothing is recorded

when i use the option of designer script in the script type and browser IE and click desing then i choose record and give the url , IE as brower type but nothing is happening

i attched the error which get and check the path of the brower all are correct only..

2nd tab
C:\\Program Files\\PushToTest_TestMaker\\TestNode>\"C:\\Program Files\\Java\\jre1.6.0_02\\bin\\java.exe\" \"-Djetty.logs=C:\\Documents and Settings\\ipriyad/TM/Logs\" -jar -DSTOP.PORT=8079 -Xbootclasspath/a:./lib/derby.jar -classpath ./lib/aspectjweaver.jar;./start.jar;./lib/derby.jar;./lib/derbyclient.jar;./lib/derbynet.jar;./lib/derbyrun.jar;./lib/derbytools.jar -Djdbc.drivers=org.apache.derby.jdbc.EmbeddedDriver -Dpython.home=./webapps/TestNetwork/WEB-INF/lib/ -DSTOP.KEY=secret -Dcom.sun.management.jmxremote.port=19999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -javaagent:./lib/aspectjweaver.jar -jar start.jar
TestNode Alive

3rd tab
A subdirectory or file C:\\Documents and Settings\\ipriyad/TM/Logs already exists.
2011-06-09 15:49:05.687::INFO: Logging to STDERR via org.mortbay.log.StdErrLog
2011-06-09 15:49:06.156::INFO: jetty-6.1.18
2011-06-09 15:49:06.437::INFO: Extract file:/C:/Program%20Files/PushToTest_TestMaker/TestNode/webapps/AjaxApp.war to C:\\Temp\\Jetty_0_0_0_0_8080_AjaxApp.war__AjaxApp__36pso7\\webapp
2011-06-09 15:49:10.842::INFO: Extract file:/C:/Program%20Files/PushToTest_TestMaker/TestNode/webapps/BrewBizWeb.war to C:\\Temp\\Jetty_0_0_0_0_8080_BrewBizWeb.war__BrewBizWeb__2tlky5\\webapp
2011-06-09 15:49:11.263::INFO: Extract file:/C:/Program%20Files/PushToTest_TestMaker/TestNode/webapps/cranky.war to C:\\Temp\\Jetty_0_0_0_0_8080_cranky.war__cranky__uj4tj3\\webapp
2011-06-09 15:49:11.342::INFO: Extract file:/C:/Program%20Files/PushToTest_TestMaker/TestNode/webapps/openamf.war to C:\\Temp\\Jetty_0_0_0_0_8080_openamf.war__openamf__9eavbb\\webapp
2011-06-09 15:49:12.482:/openamf:INFO: Initializing Spring root WebApplicationContext
Jun 9, 2011 3:49:12 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization started
Jun 9, 2011 3:49:12 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.web.context.support.XmlWebApplicationContext@198e8b4: display name [Root WebApplicationContext]; startup date [Thu Jun 09 15:49:12 IST 2011]; root of context hierarchy
Jun 9, 2011 3:49:12 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext.xml]
Jun 9, 2011 3:49:14 PM org.springframework.context.support.AbstractApplicationContext obtainFreshBeanFactory
INFO: Bean factory for application context [org.springframework.web.context.support.XmlWebApplicationContext@198e8b4]: org.springframework.beans.factory.support.DefaultListableBeanFactory@f5d030
Jun 9, 2011 3:49:14 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@f5d030: defining beans [greetingService,IhaveName,hello]; root of factory hierarchy
Jun 9, 2011 3:49:14 PM org.springframework.web.context.ContextLoader initWebApplicationContext
INFO: Root WebApplicationContext: initialization completed in 1671 ms
Jun 9, 2011 3:49:14 PM org.openamf.DefaultGateway reloadConfig
INFO:
=================
SERVICE INVOKERS
=================
Name: PageableRecordSet
Class Name: org.openamf.invoker.PageableResultSetServiceInvoker
Name: SessionControl
Class Name: org.openamf.invoker.SessionControlInvoker
Name: WebService
Class Name: org.openamf.invoker.WebServiceInvoker
Name: JMX
Class Name: org.openamf.invoker.JMXServiceInvoker
Name: Java
Class Name: org.openamf.invoker.JavaServiceInvoker

=======================
CUSTOM CLASS MAPPINGS
=======================

=======================
PageableRecordsetConfig
=======================
initialDataRowCount: 20
=======================
AMFSerializerConfig
=======================
forceLowerCaseKeys: true
=========
SERVICES
=========

**************************
Name: OpenAMFPageableRecordSet
Service Location: null
Service Invoker Ref: PageableRecordSet
Service Invoker:
PageableRecordSet
-----------------
METHODS
-----------------
Name: *
-----------------
STATE BEANS
-----------------
-----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------

**************************
Name: SessionControlService
Service Location: null
Service Invoker Ref: SessionControl
Service Invoker:
SessionControl
-----------------
METHODS
-----------------
Name: close
-----------------
STATE BEANS
-----------------
-----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------

**************************
Name: Directory
Service Location: org.openamf.examples.Directory
Service Invoker Ref: Java
Service Invoker:
Java
-----------------
METHODS
-----------------
Name: addPerson
-----------------
STATE BEANS
-----------------
Authentication -----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------
Name: getPeople
-----------------
STATE BEANS
-----------------
Authentication -----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
Class Name: org.openamf.filter.BeanListToRecordSet
-----------------
PARAMETERS
-----------------
Name: ignore
Value: extraInfo
-----------------
ACCESS CONSTRAINTS:
-----------------

=========
STATE BEANS
=========
Name: Authentication
Class Name: org.openamf.examples.Authentication
Scope: session

Jun 9, 2011 3:49:14 PM org.openamf.DefaultGateway reloadConfig
INFO:
=================
SERVICE INVOKERS
=================
Name: PageableRecordSet
Class Name: org.openamf.invoker.PageableResultSetServiceInvoker
Name: SessionControl
Class Name: org.openamf.invoker.SessionControlInvoker
Name: WebService
Class Name: org.openamf.invoker.WebServiceInvoker
Name: JMX
Class Name: org.openamf.invoker.JMXServiceInvoker
Name: Java
Class Name: org.openamf.invoker.JavaServiceInvoker
Name: PageableRecordSet
Class Name: org.openamf.invoker.PageableResultSetServiceInvoker
Name: SessionControl
Class Name: org.openamf.invoker.SessionControlInvoker
Name: WebService
Class Name: org.openamf.invoker.WebServiceInvoker
Name: JMX
Class Name: org.openamf.invoker.JMXServiceInvoker
Name: Java
Class Name: org.openamf.invoker.JavaServiceInvoker

=======================
CUSTOM CLASS MAPPINGS
=======================

=======================
PageableRecordsetConfig
=======================
initialDataRowCount: 20
=======================
AMFSerializerConfig
=======================
forceLowerCaseKeys: true
=========
SERVICES
=========

**************************
Name: OpenAMFPageableRecordSet
Service Location: null
Service Invoker Ref: PageableRecordSet
Service Invoker:
PageableRecordSet
-----------------
METHODS
-----------------
Name: *
-----------------
STATE BEANS
-----------------
-----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------

**************************
Name: SessionControlService
Service Location: null
Service Invoker Ref: SessionControl
Service Invoker:
SessionControl
-----------------
METHODS
-----------------
Name: close
-----------------
STATE BEANS
-----------------
-----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------

**************************
Name: Directory
Service Location: org.openamf.examples.Directory
Service Invoker Ref: Java
Service Invoker:
Java
-----------------
METHODS
-----------------
Name: addPerson
-----------------
STATE BEANS
-----------------
Authentication -----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
-----------------
ACCESS CONSTRAINTS:
-----------------
Name: getPeople
-----------------
STATE BEANS
-----------------
Authentication -----------------
PARAMETERS
-----------------
Type: *
-----------------
RESULT FILTERS:
-----------------
Class Name: org.openamf.filter.BeanListToRecordSet
-----------------
PARAMETERS
-----------------
Name: ignore
Value: extraInfo
-----------------
ACCESS CONSTRAINTS:
-----------------

=========
STATE BEANS
=========
Name: Authentication
Class Name: org.openamf.examples.Authentication
Scope: session

2011-06-09 15:49:19.401::INFO: Opened C:\\Documents and Settings\\ipriyad\\TM\\Logs\\2011_06_09.request.log
2011-06-09 15:49:19.448::INFO: Started SelectChannelConnector@0.0.0.0:8080


Sahi proxy tab

--------
SAHI_HOME: ..\\..
SAHI_USERDATA_DIR: ..
SAHI_EXT_CLASS_PATH:
--------
Sahi properties file = C:\\Program Files\\PushToTest_TestMaker\\sahi\\config\\sahi.properties
Sahi user properties file = C:\\Program Files\\PushToTest_TestMaker\\sahi\\userdata\\config\\userdata.properties
>>>> Sahi started. Listening on port: 9999
>>>> Configure your browser to use this server and port as its proxy
>>>> Browse any page and CTRL-ALT-DblClick on the page to bring up the Sahi Controller
-----
Reading browser types from: C:\\Program Files\\PushToTest_TestMaker\\sahi\\userdata\\config\\browser_types.xml
-----
indira_w
Junior Boarder
Posts: 24
graphgraph
User Offline Click here to see the profile of this user
The topic has been locked.
 
Go to topPage: 1