Quantcast
Channel: New board topics in SmartBear Community
Viewing all 21061 articles
Browse latest View live

"Not Enough Quota is Available to Process This Command" TestComplete

$
0
0

Every so often when running our application with TestComplete, the application freezes up and crashes.


After discussions with a developer, it looks like our logs caught an issue with TestComplete running out of memory when attempting to drive the application.

The following message shows up in our logs:

2018-03-19 14:52:32.3169 An unhandled dispatcher exception has occurred. System.ComponentModel.Win32Exception (0x80004005): Not enough quota is available to process this command
   at MS.Win32.UnsafeNativeMethods.PostMessage(HandleRef hwnd, WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndTarget.UpdateWindowSettings(Boolean enableRenderTarget, Nullable`1 channelSet)
   at System.Windows.Interop.HwndTarget.UpdateWindowPos(IntPtr lParam)
   at System.Windows.Interop.HwndTarget.OnWindowPosChanging(IntPtr lParam)
   at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
   at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

Any thoughts? Or any way to fix this? Or is this maybe a defect in TestComplete?


Trying to use SOAP UI 5.0.0 and error message "The page could not be loaded" and also stack error

$
0
0

SOAP UI 5.0.0 application tool that i use for testing is getting error message  "The page could not be loaded"  and  also   "Error getting response; java.lang.Exception: jave.lang.StackOverflowError".  I have had this tool for over 2 years and never have any issues.  In fact it was working correctly last week.   See attached.

 

Error in Distributed Testing using TestComplete

$
0
0

Hi,

 

I am getting the attached error when I implement distributed testing using NetworkSuite in TestComplete. Please, help me to resolve based on the attachment. I appreciate your help.

Missing matching response for specified Accept header

$
0
0

I have an accept header 

 

- name: Accept
in: header
type: string
required: true
description: application/json; version=1.0.0
default: application/json; version=1.0.0

 

The corresponding Curl command is 

 

curl -X POST "https://virtserver.swaggerhub.com/SEG/Redemption/0.1/rewards" -H "accept: application/json" -H "Authorization: b2csegSSOApp1" -H "Accept: application/json; version=1.0.0" -H "Content-Type: application/json" -d "{ \"voucherSetupId\": 8797897}"

 

When I try to use Auto Mocking I am getting the following resposne:

 

{"message":"Missing matching response for specified Accept header"}

Any help much appreciated.

 

Two image comparison fails with slight resolution difference

$
0
0

When comparing two images, even if the machine is always in 1920 x 1080 resolution. The comparison always fails with slight resolution difference.  Kindly help on how to fix this issue?  I have attached the two files

 

I could use SOAPUI (not PRO) successfully for REST, GET method. But POST poses issues

$
0
0

Not sure if SOAPui documentation gives clear help on POST, PATCH methods.

 

For parameters, what are the style, level values?

 

I can get "GET method" to work properly in SOAPui.

 

Surfing around, I have noticed that some other users also faced some issues.

 

Can you point me to relevant documentation?

 

Thank you.

How i can retrieve the data from multiple sheets using single DDT driver object?

$
0
0

In my keyword test, I need to retrieve the data from multiple sheets, using single DDT driver object from the same excel file. I am using 'Sheet' variable to specify the sheet value at run time. Sheet value is getting change at runtime but value is not retriving from the related sheet.

incorrect json request

$
0
0

I am trying to import  the following swagger definition.

"metaData": {
"type": "object",
"additionalProperties": {
"type": "string"
}
}
But when i import the swagger json file in Ready API, it shows the following request
{
"metaData" : {
"key" : "key",
"value" : "string"
}
}
instead it should show the following
{
"metaData" : {
"key" : "value"
}
}


Test complete tool can be used for Qt 5.9 windows applicatoin testing

Testing Qt5.9 windows application using test complete tool

ComboBoxPopupListBox.ClickItem("ComboBoxMenuItem1") does not work

$
0
0

Hello, I want to test an standalone desktop application, which is written in C#.

For this, I recorded some test steps and while replaying I've seen that

TestComplete can recognize UI elements like EditBox, PushButton etc. , 

but it cannot click into ComboBox object to select its items.

 

Recorded test steps are as following:

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

//Clicks at the point (178,7) of the FormElementobject.

Aliases.appX.FormElementContainingComboBoxPopUpForm.Click(178,7) ; -> pass

 

Delay(2000);

 

//Clicks the ComboBoxMenuItem1.

Aliases.appX. appXComboBoxPopupForm.ComboBoxPopUpListBox.ClickItem("ComboBoxMenuItem1"); ->FAIL

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

In the test run log:

 

Unable to find the object ClickItem("Bilinmiyor                                                                                     "). 

 

Additional Info:

 

The object with the specified attributes does not exist.

Tested object:

Aliases.hskks.HskksComboBoxPopupForm.ComboBoxPopupListBox

 

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

 

In order to get rid of blank chars in ClickItem("Bilinmiyor                                                                                     "),

we used ClickItem("Bilinmiyor*"); but it does not help. 

 

I am using a trial version, so C# is not supported there; therefore I had to choose Javascript as scripting language. May this cause this object-recognition problem?

Getting error com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.readSourceValue

$
0
0

Hi,

 

I have written Customized code to run SOAPUI Test Suites and publish result.

The Code is working fine for HHTP Steps and Property Transfer related to XPath.

But when same Code was ran against REST Steps and Property Transfer step related to JSONPath. Then getting error.

 

SOAPUI Version 5.3.0

Java Version 1.7

POM details

<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</dependency>
<!-- https://mvnrepository.com/artifact/com.jayway.jsonpath/json-path -->
<dependency>
<groupId>com.jayway.jsonpath</groupId>
<artifactId>json-path</artifactId>
<version>2.2.0</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>com.smartbear.soapui</groupId>
<artifactId>soapui-maven-plugin</artifactId>
<version>5.1.0</version>
</dependency>

<repositories>
<repository>
<id>smartbear</id>
<name>smartbear repository</name>
<url>http://smartbearsoftware.com/repository/maven2</url>
</repository>
</repositories>

 

PropertyTransfer for JSONPath where Source is RestStep Response and Target is TestSuite Property

PropertyTransfer.png

Test Case is run using TestCase Runner

TestCaseRunner runner = testCase.run(new PropertiesMap(), false);

 

Then this Method captures Property Transfer Result details

public void runPropertyTransfer(PropertyTransferResult transferresult)
{
for (int c = 0; c < transferresult.getTransferCount(); c++) {
PropertyTransferConfig transfer = transferresult.getTransferAt(c);
stepRequest = stepRequest + "Transfer name: " + transfer.getName() + " Source Step: " + transfer.getSourceStep() + " Source Property: " + transfer.getSourceType() + " Source Path: " + transfer.getSourcePath() + " Type : " + transfer.getType() +
" Target Step: " + transfer.getTargetStep() + " Target Path: " + transfer.getTargetPath() + " Tagert Property: " + transfer.getTargetType() + "\n";
stepResponse = stepResponse + "Transfer name: " + transfer.getName() + " Transfer value: " + Arrays.toString(transferresult.getTransferredValuesAt(c)) + "\n";
}
execMillis = transferresult.getTimeTaken();
status = transferresult.getStatus().toString();
message = getErrorDetails(transferresult.getMessages());
}

 

Error : -

2018-03-20 11:25:15 - Exception during Test Execution
java.lang.NoClassDefFoundError: com/jayway/jsonpath/spi/JsonProvider
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.readSourceValue(PropertyTransfer.java:345)
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.transferProperties(PropertyTransfer.java:315)
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfersTestStep.run(PropertyTransfersTestStep.java:125)
at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfersTestStep.run(PropertyTransfersTestStep.java:103)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:213)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:47)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:139)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:47)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:129)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.start(AbstractTestRunner.java:77)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:592)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.run(WsdlTestCase.java:77)

REST Step Response not in JSON format in TestCase Result

$
0
0

In SOAPUI Rest Step when it is run then we get Response in JSON Format.

 

But same Test Steps are run through TestCase then in TestCase log all results are captured.

When I click the Result don't find Response in JSON Format but do find in XML format.

 

RestStepResult.png

Object doesn't Exist

$
0
0

I am working on Android, In the below code,

found Object doesn't Exist error

 

 

Set LowerLimit  = Mobile.Device("Q3000").Process("com.cor.currency").Layout("NO_ID", 2).Layout("action_bar_root").Layout("content").Layout("scrollView").TextView("message")

 

 

please provide Basic Framework for Testcomplete

$
0
0

Hi All,

I need Basic framework for TestComplete. please share anyone.

Thanks

Vinoth


How to run Testcomplete in SilentMode

$
0
0

Hi All,

i want to run Testcomplete in silent mode.but it's not working.

Example:

REM Clears the screen
CLS
@ECHO OFF
REM Launches TestComplete,
REM executes the specified project
REM and closes TestComplete when the run is over
TestComplete.exe "\\ndc-met-nas-int\int_redirected_folders\dmadhavan1\Documents\TestComplete 12 Projects\PAM_UI_L2\PAM_UI_L2\PAM_UI_L2.mds" /run /exit /Silentmode
IF ERRORLEVEL 1001 GOTO NotEnoughDiskSpace
IF ERRORLEVEL 1000 GOTO AnotherInstance
IF ERRORLEVEL 127 GOTO DamagedInstall
IF ERRORLEVEL 4 GOTO Timeout
IF ERRORLEVEL 3 GOTO CannotRun
IF ERRORLEVEL 2 GOTO Errors
IF ERRORLEVEL 1 GOTO Warnings
IF ERRORLEVEL 0 GOTO Success
IF ERRORLEVEL -1 GOTO LicenseFailed

:NotEnoughDiskSpace
ECHO There is not enough free disk space to run TestComplete
GOTO End

:AnotherInstance
ECHO Another instance of TestComplete is already running
GOTO End

Smiley Very HappyamagedInstall
ECHO TestComplete installation is damaged or some files are missing
GOTO End

:Timeout
ECHO Timeout elapses
GOTO End

:CannotRun
ECHO The script cannot be run
GOTO End

:Errors
ECHO There are errors
GOTO End

:Warnings
ECHO There are warnings
GOTO End

Smiley Frustrateduccess
ECHO No errors
GOTO End

:LicenseFailed
ECHO License check failed
GOTO End

:End

JIRA and Code Collaborator integration issue

$
0
0

Hello Team,

 

We recently integrated Jira with code collaborator.

 

In code collaborator the server URI we use to integrate to Jira is with URL https://........

However, we should be able to use HTTPS instead of HTTP. But using HTTPS gives a connection error, when collaborator tries to connect to Jira.

 

The possible way to fix this issue would be to use HTTPS instead of HTTP in collaborator. But if we do that, we get the following error:

 

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

 

Please let me know how to fix this issue?

 

Thanks!

Collaborator users homepage is not loading

$
0
0

Collaborator user's home page is not loading.   It simply says loading and never loads.    We are seeing this in the error log:

 

Mar 16, 2018 11:31:23 AM org.apache.catalina.core.ApplicationContext log
SEVERE: Exception while dispatching incoming RPC call
com.google.gwt.user.server.rpc.UnexpectedException: Service method 'public abstract com.smartbear.ccollab.datamodel.client.unversioned.IDashboardData com.smartbear.ccollab.datamodel.client.unversioned.IUnversionedClientApi.getDashboardData(boolean) throws com.smartbear.ccollab.service.api.v7001.ServiceRuntimeException' threw an unexpected exception: java.lang.NullPointerException
at com.google.gwt.user.server.rpc.RPC.encodeResponseForFailure(RPC.java:415)
at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:605)
at com.smartbear.ccollab.rpc.RpcGwtServlet.processCall(RpcGwtServlet.java:275)
at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:373)
at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:648)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.smartbear.ccollab.AuthTicketFilter.doFilter(AuthTicketFilter.java:98)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.smartbear.ccollab.CollabCleanupFilter.doFilter(CollabCleanupFilter.java:30)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at com.smartbear.ccollab.auth.AuthTicketValve.invoke(AuthTicketValve.java:32)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException

can we install soapui 5.4.0 on top of older version

$
0
0

can we install soapui 5.4.0 on top of older version

Test Complete 12.42 unable to identify objects/elemets under a frame

$
0
0

Test Complete 12.42 unable to identify objects/elemets under a frame.But it's working perfer in Test Complete 12.31.

 

I upgraded TC12.31 to TC12.42 and noticed most of pages in my application objects are not identified by TC 12.42.Please find here the attached screenshot for your reference.

Please let me know solutions of this issue.

 

ObjectSpy is not identified object.PNGTC12.42 unable to identify objects on this screen.PNG 

 

Thanks & Regards,

Ashok Sahoo

 

 

 

Viewing all 21061 articles
Browse latest View live