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

Chrome Widget in an Electron application

$
0
0

Hi,

My application is an Electron application and it has a small tab-menu extension (there is a down arrow and when clicked expands as a menu). Until the Down arrow I am able to recognize as a part of my electron application but the menu which is displayed (after clicking on the down arrow) is not getting recognized. When I spy the menu it shows Window("Chrome_WidgetWin_2", "", 1) in the Name. Please help me identify the chrome widget.

Note: Already Web and Desktop installation are available in my Test Complete.


How can you save disc space with Keyword Testing?

$
0
0

Hi,

It seems that the more keyword tests are created, the more disc space you use unlike scripts which take little or no space at all. I was wondering how we can save on disc space while using Keyword Tests.

 

I noticed that there are lots of pictures that are saved along with the project and wondered if these pictures are neccessary for the test script run or if they could be removed from the Repository.

Thanks.

Swagger json format that works for codegen and redoc

$
0
0

I want swagger-codegen to generate a function Foo with two parameters of the same type. For example Foo(User first, User second).

For this to work, both "first" and "second" have the same $ref pointing to User.

 

However, in this case I can not have the redoc use two distinct description fields and I get that both "first" and "second" has the same description - the one pointed to by $ref.

What can I do to have something that generated code with the same classes as in the example of Foo but also allows for two different descriptions to be used ? 

Has anyone actually been able to execute a POST or a GET Using AWS

$
0
0

I have spent at least a year working with Customer Support and Dev on the most basic of REST calls POST/GET to AWS. It does not work.  The first ticket that I entered I performed a sid by side test using Postman and Soapui Pro.

 

Providing both with identilcle Secret/Key. Postman worked perfectly fine while SoapUI failed to execute. The initial bug was that Soapui dynamic generation of the authitication header was nonexistant. Begging the question, how did it ever work to begin with. After 6 to 8 monthes I recieved a build  with a fix. The next failure was in performing a GET. Apparently AWS published an issue for GETS, as they have no payloads. SoapUI doesn't handle this issue either. Its been 3 to 4 months of chasing down this issue and I'm waiting for th enext release which shold have the fix in it.

 

I'm puzzled how anyone doing cloud testing with AWS has done anything with this tool in the past year. Is there something unique about serverles testing and the use of S3 buckets.

how to have different required fields for the create (put) and update api?

$
0
0

I have a schema defined say star which has name as required field. But i want this field to be required in create body request but not in update body request. What is the correct way to do without redundant code?

Star:
title: Star
description: star found
required:
- name
properties:
id:
description: the id for the star
type: string
format: uuid4
readOnly: true
x-go-name: ID
name:
description: name of the star
type: string
x-go-name: Star

How to document api using swagger

$
0
0

Hi all am glad to be part of this community and i hope to learn more about swagger and other related stuff,

 Am blocked by swagger documentation process, the error looked familiar and i hope some of our members faced such error. the error looks like 

Resolver error at paths./patientprofile.post.parameters.0.schema.$ref

Could not resolve reference because of: Could not resolve pointer: /definitions/PatientprofileCreate does not exist in document.

According to my understanding, it means tthat the patientprofileCreate has not been documented. so how can i go over this, thanks alot, any help will be highly appreciated

TestExectute run configuring project variable

$
0
0

Hi to all,

In my project I have defined a variable(in section temporary variable), I use it to change enviroment, from production to quality.

I want to run with testexecute configuring my var.

My bat is:

TestExecute.exe "V:\Users\Administrator\Documents\TestComplete 14 Projects\DLConsole\DLConsole.pjs" /r /pSmiley Very HappyLConsoleGUI /t:"Dragon 5|MyAcount" /ErrorLog:"c:\log.txt" /Enviroment="dev" /e

 

Where Enviroment is my variable.

 

I set it but this variable do not change enviroment.

Suggestions

Azure devops add on in test complete

$
0
0

Trying to integrate test complete with azure devops but i can't see the azure devops extension in test complete in project properties. Please check attached image

 


How to print all differences when comparing two xml files using XMLUnit2

$
0
0

Hi All,

 

I'm using XMLUnit2 to compare two xml files using groovy in soapui, it's comaring two files successfully.Would like to print all differences what it finds, but it just printing only first difference. XMLUnit1 supposes to print all diferences, but would like to use XMLUnit2.

 

If any one have any idea, how to print please help me, It would be appreciated.

 

Code Using:

 

diff = DiffBuilder.compare(resxml1)
        .withTest( resxml2)
        .withNodeFilter(nodeFilter)
        .withAttributeFilter(attributeFilter)
        .ignoreComments()
        .ignoreWhitespace()
        .ignoreElementContentWhitespace()
  .checkForSimilar()
        .withNodeMatcher(new DefaultNodeMatcher(new ByNameAndTextRecSelector(), ElementSelectors.byName))
         .build();
print diff
 

JSON references to external documents - should you still use them?

$
0
0

I feel hesitant to use external schema references in my OpenAPI documentation - are these here to stay?

 

I'm wondering because

  • There is only a draft that ever mentioned JSON references to external documents via URL and it is expired since March 2013.
  • JSON pointers are only allowed locally within a single JSON document (RFC 6901).
  • JSON schema defines the "$ref" keyword - but only using local JSON pointers.
  •  

Side note: The Swagger specification states that: 

 

"According to RFC3986, the $ref string value (JSON Reference) should contain a URI, [...]"

 

This is a misleading statement. RFC3986 ist just the RFC for URI syntax. It does not say anything about the contents of the "$ref" entity.

That's like saying " According to the US food code of 2013, I should have a sandwich in my bag". It does not say that. It just describes how a healthy sandwich should be created. :-)

 

Unable to select object

$
0
0

I am trying to find an object that is a plus ("+") symbol on a web application to properly map it. However, the object spy does not find just the "+" symbol, it pulls a whole panel which also includes the text "Add New Floor". I am not finding a way to drill down to that "+" symbol. Attached are images of from the Object Browser. Any tips on how to map to such an object?

 

Thanks!

Pdf download using load complete

$
0
0
How to download and save pdf in a path during execution using load complete?do we have any specific response time measuring functions similar to load runner to capture pdf download time?

Reprt of readyAPi

$
0
0

Requirement of report  -

1) request

2)response

3)why teststep  pass

4)Why teststep fail

5)method

6)End point

7)Assertions

8)Testcase name

9)test suite name

please find attached for approach and follow that .

We need report in Pdf format.

How to write  teardownscript and setupscript  in readyAPI ?

Call Salesforce API

$
0
0

I have created attached file to call Salesforce standard API from SwaggerHub or SwaggerEditor.

 

 

 After clicking "Authorize" button, it returns the Authorization code. In the next step I have to get an access token to make further requests like GET, POST, etc. How to get access token? 

How to execute dependent script library when executing main project using TestRunner in command line

$
0
0

Below is my projct structure

| Project 1 (This is my main project which has application specific test cases)

   |Test Suite 1

      |Test Case 1

      |Test Case 2

   |Test Suite 2

      |Test Case 1

| Project 2(Script Library)

   |Test Suite 1

     |Test Case 1

         |Groovy Step(Shared Groovy Methods)

 

I want to run the Project 1 using TestRunner Command line utility. But Project 1 is dependent on Project 2 as it has shared resusable methods from Script library

I have went through many posts in community but could not find resolution for above issue. Can some help me know how to achieve the same.

 

 

 

 

 


Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access is denied"

$
0
0

Facing error "Can not open file //.......file path in local system...//Tunnel.log, Access is denied"

I am trying to excute my scripts in CrossBrowserTesting.

But as is execute facing this... also unfortunately I had deleted that tunnel.log file unfortunately.

but when I create tunnel again then it's created but not able to access that tunnel.

Re-applying Templates

$
0
0

Does anyone know if it is possible to re-apply name mapping templates to existing mapped objects?

 

We have some poor name mapping which was done early on in a project before templates were defined and we'd like to apply newly created templates to existing objects.

 

Is this possible?

 

It seems to be faster to delete the old stuff and simply re-create the mapping using the new templates but this can break tests, lots of them!

 

Any ideas?

Script is getting fail in CrossbrowserTesting on first line Set page = Sys.Browser("*").Page("*")

$
0
0

I am trying to execute script in crossbrowsertesting.

My script execute and fail in early of execution, It's failing on below line of a function

Set page = Sys.Browser("*").Page("*")

while when i execute the same script normally without crossbrowsertesting. It's working fine

Swagger compliance assertion

$
0
0

Hi, I'm trying to add a Swagger compliance assertion to my test step (using SoapUI 5.5.0) but there is no such assertion on the list. Is there any plugin I need to install before seeing it? I already install the swagger import/export extension (and I'm able to import swagger definitions), but the assertion is not yet there.

AQTime v8 integration with Delphi XE10.3.3

$
0
0

Are there any newer bpl files for use with delphi 10.3.3?  I tried installing AQTime but everytime delphi starts I get an error message about the bpl file.

Viewing all 26529 articles
Browse latest View live