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

Does TestComplete support Window service & Mac menubar applications developed on electron

$
0
0

Hi Team,

 

We have Window service and Mac menu bar application developed on JavaScript and Electron.

The way how it works is:

After installing the .exe file, there will be an icon in quick start menu appears at the right bottom of the Windows PC and after installing .dmg in Mac, there will be an icon in the menu bar. clicking an icon from those areas opens a small frame which can't be moved on the screen. This is how the application functions.

What I wanted to know is, does test complete support automating this application in both Mac and Windows.

I am newbie to TestComplete. Please help me.

 

Thanks,

Shiva


import pandas package in python for excel read

$
0
0

Hi All,

 

I am trying to read excel sheet and store in data frame in testcomplete python language.

When i try to import pandas package, it says required dependency missing numpy. 

After importing numpy package i am getting the following error:

 

Importing the multiarray numpy extension module failed.  Most
likely you are trying to import a failed build of numpy.
 
No issues are seen when importing other packages like math and browser packages.
 

 

How I can use timestamp format unix epoch (now) in seconds

$
0
0

How I can use timestamp format unix epoch (now) in seconds ? Swagger/OpenAPI 3.0

example: #1533081600 (01/08/2018 00:00:00 GMT) in query string ?

Timestamp Unix epoch problem

$
0
0

This is correct ?

How i can pass this parameter string (01/08/2018 00:00:00) to recive (1552562340) in query string

        - name: timestamp
          in: query
          required: true
          description: Tempo formato Unix epoch
          #1552562340 (01/08/2018 00:00:00 GMT)
          schema:
            type: string
            format: unix-timestamp
        - name: signature
          in: query

Automating Tests with Commuinity Version

$
0
0

Hi All,

 

I have the communnity version of SOAPUI Currently and its perfect for firing off all manner of single tests.  But where I want to test when there are 1 or more dependencies I'd like to automate the them and then it seems to get fiddly!

 

eg.

Get authentication token

Use token in getRecord()

use results of get record in .....

 

when I tried to dig through examples and build it in my version, it seemed there is a whole lot of steps to create an automated flow.

 

Does the the pro version make things more streamlined ?

 

If I'm missing something very obvious in the community version is there a good guide for test automation for the community version please?

 

Cheers

 

Stu

 

Can "try it out" be disabled/hidden from online editor

$
0
0

Was curious to know if there is a way to totally hide "Try it now" feature from the documentation?

Conditional validation in request body

$
0
0

Hi,

 

I have a post method which takes request body ((Dynamic) List of maps). I am trying to work on validations within the request body like 

if key1's value > 1 then key2, key3 are mandatory

or 

if key4 is provided, key5 cannot be empty

 

The list of maps is dynamic and not predefined. Is there something in openapi which helps in solving above scenario.

Any help is really appreciated.

Thanks,

Aruna

TestComplete Installation on AWS

$
0
0

Hello community,

If I am installing the Test Complete software on the EC2 instance (VM) on AWS, Do I have to install the license manager PC on my local machine? If yes, Does test complete provide the seperate installation file for license manager to be installed on Local PC ?


Can we read all Test cases result status and it counts from project tear down??

$
0
0
Test runner object is not accessible from project tear down . As part of reporting I need this values .

It will be very helpful some one guide me on this

Unable to find the object Clear. See Additional Information for details

$
0
0

My testComplete is not finding the Clear method, and returns error:
"Unable to find the object Clear. See Additional Information for details. "
I also noticed that when using the Object Spy it does not show the Fields tab, using the same EXE of the application only in another installation of TestComplete it works normally.

Another thing I discovered that if you saved the options and restarted the TestComplete back up and running.


Has anyone ever experienced this?

Error launching Virtserver - virt-server.yml not found

$
0
0

What would cause the YML file to disappear? The server was working fine until today.

How do I recover it or Re-create it?

 

C:\Program Files\SmartBear\VirtServer-2.2.0\bin>VirtServer.exe
- HV000001: Hibernate Validator 5.1.1.Final
Configuring log4j from [C:\Program Files\SmartBear\VirtServer-2.2.0\bin\soapui-log4j.xml]
12:35:55,262 INFO [DefaultSoapUICore] No JDBC drivers found in extensions directory
12:35:55,262 INFO [DefaultSoapUICore] Creating new settings at [C:\Users\adm156059\soapui-set
tings.xml]
12:35:55,981 DEBUG [SoapUIProGroovyScriptEngineFactory] Setting Script Library to [C:\Program
Files\SmartBear\VirtServer-2.2.0\bin\scripts]
12:35:55,996 INFO [DefaultSoapUICore] Adding listeners from [C:\Program Files\SmartBear\VirtS
erver-2.2.0\bin\listeners\demo-listeners.xml]
12:35:56,106 WARN [SoapUIJasperReportManager] The path to the report directory has been set t
o the default value because the report format has changed. Please update your custom reports i
f you want to use them with ReadyAPI 2+.
12:35:57,400 INFO [PluginManager] 0 plugins loaded in 0 ms
12:35:57,525 INFO [DefaultSoapUICore] All plugins loaded
ERROR [2019-03-15 12:36:07,697] com.smartbear.virtserver.VirtServer: UNEXPECTED ERROR:
! java.io.FileNotFoundException: File C:\Program Files\SmartBear\VirtServer-2.2.0\bin\virt-ser
ver.yml not found
! at io.dropwizard.configuration.FileConfigurationSourceProvider.open(FileConfigurationSourceP
rovider.java:18)
! at io.dropwizard.configuration.SubstitutingSourceProvider.open(SubstitutingSourceProvider.ja
va:37)
! at io.dropwizard.configuration.YamlConfigurationFactory.build(YamlConfigurationFactory.java:
78)
! at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:124)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:72)
! at io.dropwizard.cli.Cli.run(Cli.java:75)
! at io.dropwizard.Application.run(Application.java:79)
! at com.smartbear.virtserver.VirtServer.<init>(VirtServer.java:161)
! at com.smartbear.virtserver.VirtServer.main(VirtServer.java:122)
! at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
! at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
! at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
! at java.lang.reflect.Method.invoke(Unknown Source)
! at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:65)
! at com.exe4j.runtime.WinLauncher.main(WinLauncher.java:101)
! at com.install4j.runtime.launcher.WinLauncher.main(WinLauncher.java:26)
ERROR [2019-03-15 12:36:07,712] com.smartbear.virtserver.VirtServer: Could not start the Serve
r, shutting the JVM down

duplication of same mapping objects

$
0
0

Hello,

I map my app (myapp) since a few years for new items.

I don't understand why, when I map new items, the Name Mapping increase a number for the process name as the following :

MyApp

MyApp_new

MyApp_new2

MyApp_new3

etc...

 

When I edit the mapping, there is only "Process Name" which is obviously "MyApp".

No need to duplicate entries...

 

I have this problem since a long time, and still have it in the version 14 of TC.

 

The app is coded in Delphi.

 

Thank you !

Error Message: Invalid Characture found in Text Content

$
0
0

Hello!

 

I have a checkpoint that compares two XML files (newly generated XML file vs "Master" XML file). The check point is failing with the error message "Document is invalid. Error: An invalid Characture was found in text content. "

 

Can someone help me understand what this error message means?

 

Thank you!

SOAP calls fail for Message Size greater than 4096 (SoapUI 5.5)

$
0
0

Hi Folks!

 

I'm having a very strange error in SoapUI 5.5. Any Soap service requests I send out that have a Message Size greater than 4096 characters is failing, with the response:

HTTP Status 401 - No client certificate chain in this request

This error is not occuring when the message size is reduced, and it is not occuring for my coworkers who are using SoapUI 5.4 (so I don' t think it's a server config issue).

Any ideas?

 

Thanks,

Matt K

Mass TestStep rename

$
0
0

i have a over 500 testcases with almost 1000+ test steps 

 when i run complete test suite bunch of test steps failed and i cant figure out which teststep failed as beause some teststeps are same names 

 

I wanted to rename teststep names some thing like 

 

Testcase_001

    Teststep_a_001

     TestStep_b_001

Testcase_002

    Teststep_a_002

    Teststep_b_002

 

 

 


Can we run any test case from project tear down?

$
0
0
As part of automation I need to run some specific groovy test case from project tear down but unfortunately the test runner object is not accessible from this step so it will be very helpful if some help me on this..

Newbie question about Mapping Swagger Documentation

$
0
0

I'm new to Swagger APIs and JSON APIs in general. Mostly doing practical business Python. Now I have a Swagger API from which I need to get some data. The project has Swagger Documentation. I can add the API key for my client and get the Resources, but the Representations are not quite what I expected, knowing the material. I feel like there's another layer that I'm not seeing--possibly in the Platform's setup of the client's Application.

 

mDjF3

I found this post, Visualising complex APIs using API Map Following in this direction, was able to use the Pikturr script to generate a UML from the Platform's Swagger API. However, this obviously doesn't include the my client's content. 

 

Any suggestions how I can map the Swagger API Documentation using my client's API Key?

Or,

Am I misunderstanding something about Swagger APIs asking this question?

 

I've found several other packages on Github which do similar things, swagger_to_uml, Swagger2Puml, and a tutorial From Swagger to Confluence UML diagrams; however, none describe this particular problem.

 

How to run query in Database and store the results in Variable ?

$
0
0

Hi dears, I would like to run my SQL query into my DB, and cache the data into a variable. 

Further my plan is to use the data in upcoming test steps or Testcases. 

 

May I get your valuable suggestion ? 

Test Complete doesnot recognise Objects

$
0
0

Hi Guys,

 

I am currently creating tests for Desktop application built on Delphi and have created a few tests last week and run it successfully. For some reason on running the same tests today ,all are failing with error " Objects does not exist" .

There was no update done to the application and not really sure whats causing the issue.

 

Any suggestions would be really appreciated.

 

Thank You.

Can we read all Test cases result status and it counts from project tear down??

$
0
0
Hi Team i tried with below code but unfortunately it is not going inside loop nor printing the logs which i expected.

for( projectResult in runner.results) { log.info "Project name : " + projectResult.getProject().name log.info "Project status : " + projectResult.getStatus().toString() for ( testSuiteResult in projectResult.results ) { log.info "Test suite name : " + testSuiteResult.getTestSuite().name log.info "Test suite status : " + testSuiteResult.getStatus().toString() for ( testCaseResult in testSuiteResult.getResults() ) { log.info "Test case name : " + testCaseResult.getTestCase().name log.info "Test case status : " + testCaseResult.getStatus().toString() } } }

I want to print all test suite and test cases names along with the status.
Viewing all 20755 articles
Browse latest View live