Quality Testing

Quality is delighting customers

Alex
  • Male
  • L
  • United Kingdom
Share on Facebook
Share

Alex's Discussions

Unable to overwrite a variable during unit testing

Started this discussion. Last reply by Anand Singh on Tuesday. 2 Replies

I am using the below code: #mainscript.py import json org_file = 'resourceFile.json' def load_json (file_name):     with open ('{0}'.format(org_file)) as f:        json_object =  json.load(f)    …Continue

Please explain the use of HttpResponseMessage

Started this discussion. Last reply by Anand Singh Apr 20. 1 Reply

Please explain the use of HttpResponseMessageContinue

Is there any way to login to a site if it is showing an Authentication Pop-Up for Username and Password?

Started this discussion. Last reply by Anand Singh Apr 19. 1 Reply

Is there any way to login to a site if it is showing an Authentication Pop-Up for Username and Password?Continue

What is the best way to pentest rest APIs using burp suite?

Started this discussion. Last reply by Anand Singh Mar 22. 1 Reply

Normally, I use burp to pen test websites because they are pretty simple to configure. But this time needs to pen test rest APIs, for desktop apps that connect to a server. As I do some R&D and…Continue

 

Alex's Page

Latest Activity

Anand Singh replied to Alex's discussion Unable to overwrite a variable during unit testing
"As working with a software testing company and facing a similar kind of issue found that you overwriting the file as desired but when you call the test you are not using the mocked file. Wrapping the function seemed to work: instead of this line…"
Tuesday
Anand Singh replied to Alex's discussion Unable to overwrite a variable during unit testing
"As working with a software testing company and facing a similar kind of issue found that you overwriting the file as desired but when you call the test you are not using the mocked file. Wrapping the function seemed to work: instead of this line…"
Tuesday
Alex posted a discussion

Unable to overwrite a variable during unit testing

I am using the below code: #mainscript.py import json org_file = 'resourceFile.json' def load_json (file_name):     with open ('{0}'.format(org_file)) as f:        json_object =  json.load(f)     return json_object new_file = load_json(org_file) def print_me():     return (new_file['text']) def main():     print_me() if __name__ == '__main__':     main() Unit test: #test_mainscript.py import json import mainscript import unittest from  unittest.mock import patch class…See More
Tuesday
Anand Singh replied to Alex's discussion Please explain the use of HttpResponseMessage
"As per the security testing services HttpResponseMessage is used to set response values such as header and status control. It allows working with HTTP protocol. It is responsible for representing the HTTP response messages which encapsulate…"
Apr 20
Alex posted a discussion

Please explain the use of HttpResponseMessage

Please explain the use of HttpResponseMessageSee More
Apr 20
Anand Singh replied to Alex's discussion Is there any way to login to a site if it is showing an Authentication Pop-Up for Username and Password?
"As per the software testing company, we can use explicit wait command to handle authentication pop-ups after verifying its appearance : WebDriverWait wait = new WebDriverWait(driver, 10); Alert alert =…"
Apr 19
Alex posted a discussion

Is there any way to login to a site if it is showing an Authentication Pop-Up for Username and Password?

Is there any way to login to a site if it is showing an Authentication Pop-Up for Username and Password?See More
Apr 19
Anand Singh replied to Alex's discussion What is the best way to pentest rest APIs using burp suite?
"As per security as a service, Postman can also support security analysis through parameter fuzzing, authentication testing, and authorization testing, as well as logical testing of APIs. But first of all, check that the application communicates via…"
Mar 22
Alex posted a discussion

What is the best way to pentest rest APIs using burp suite?

Normally, I use burp to pen test websites because they are pretty simple to configure. But this time needs to pen test rest APIs, for desktop apps that connect to a server. As I do some R&D and found that the postman reference so many times can I use postman with the burp suite? See More
Mar 22
Anand Singh replied to Alex's discussion Is there any way to perform right-click on an element in Selenium.
"As per software testing services, we can use the Action class to perform user events over an element like right-click. Actions action = newActions(driver); WebElement element = driver.findElement(By Locator of fromWebElement);…"
Mar 16
Alex posted a discussion

Is there any way to perform right-click on an element in Selenium.

Is there any way to perform right-click on an element in Selenium.See More
Mar 16
Anand Singh replied to Alex's discussion Is there any way to execute a DB function with some inputs using Python?
"As per the software testing services company, we can use the below python code to execute DB functions: import psycopg2from psycopg2.extras import RealDictCursor def…"
Feb 22
Alex posted a discussion

Is there any way to execute a DB function with some inputs using Python?

Is there any way to execute a DB function with some inputs using Python?See More
Feb 22
Anand Singh replied to Alex's discussion Facing issue with INTENT_CONFIDENCE when setting it to global asserter.
"QA teams/persons use this JSON configuration when working with chatbot testing: {   "botium": {     "Capabilities": {       ...       "ASSERTERS": [         {           "ref": "INTENT_CONFIDENCE",           "src":…"
Feb 16
Alex posted a discussion

Facing issue with INTENT_CONFIDENCE when setting it to global asserter.

Tries to set INTENT_CONFIDENCE to global asserter instead of hard code the same. In configuration file i.e. botium.json, but this not working for me: I tried, set in capability like:   "INTENT_CONFIDENCE": 100 and   "ref": "INTENT_CONFIDENCE",   "val": "100" but getting this error: AppData\Roaming\npm\node_modules\botium-cli\node_modules\yargs\yargs.js:1134       else throw err            ^ Error: Failed to fetch package botium-asserter-undefined - { Error: Cannot find module…See More
Feb 16
Anand Singh replied to Alex's discussion How to scroll down a page using JavaScript?
"As per the chatbot testing we can use scrollBy() method to scroll down the webpage Syntax: executeScript("window.scrollBy(x-pixels,y-pixels)"); Step 1: Create an object for JavaScript JavascriptExecutor js = (JavascriptExecutor)…"
Jan 25

Profile Information

First Name:
Alex
Last Name:
Maio
I am currently:
Employed
Experience(Years):
3 - 4
Designation:
Software Engineer
About Me:
currently working as Software Engineer

Comment Wall

You need to be a member of Quality Testing to add comments!

Join Quality Testing

  • No comments yet!
 
 
 

TTWT Magazine


Advertisement

Advertisement

Advertisement

Advertisement

© 2022   Created by Quality Testing.   Powered by

Badges  |  Report an Issue  |  Terms of Service