Giter Club home page Giter Club logo

robotframework-pycurllibrary's People

Contributors

ivalo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

robotframework-pycurllibrary's Issues

Add Header UnicodeEncodeError

Add Header fails when scandinavian characters are used in argument.

PycURLLibrary.Add Header Username:ääkköset

Gives an error "UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128)"

New keyword Get Element Value implemented

Returns element value based on element's name and index:

    def get_element_value(self, element, index):
    """
        Returns element value based on element's name and index.    
        Example:
        |${element_value} | Get Element Value | ${element_name} | ${index} |
        """

        value = element[int(index)].text
        print value

        return value

set_cacert() -method is missing from ctx.py

Keyword 'Ca Path' is failing with error message: "AttributeError: 'Ctx' object has no attribute 'set_cacert'"

Easy fix (as said in the error message): replace "set_cacert(cacert)" with "set__capath(cacert)" (in init.py, line 170). NOTE: set__capath is written with double underscore (__).

RoboFramework-PycURLLibrary- Private Key File -- how to give pass Phrase key in script

I am using PycURLLibrary to write a HTTPS ping command. I am using a private key for private key file.
When i run my robo script on reaching PRIVATE KEY FILE[I poitn to a private file] the scripts stops and prompts for keyword which i provide through Keyboard and script continues.
Now my issues is i want the script to continue to run without stopping for the Pass Phase keyword. Can you
letme know how i can include even the Pass Phrase keyword in robo script?
HEre is my roboscript

in below after:Private Key File /home/naman/Downloads/Satish.R/robot/wifi_client/wifiClientKey.private the robo prompts for Pas Phrase keyword
*** Settings ***
Library Collections
Library String
Library OperatingSystem
Library RequestsLibrary
Library PycURLLibrary
*** Test Cases ***
ADG-400 HTTPS_CMD_PING
Log Variables
Verbose
Add Header Accept:application/json
Add Header Content-Type:application/json
Set Url https://192.168.0.102/ping
Ca Path /home/naman/Downloads/Satish.R/robot/wifi_client
Private Key File /home/naman/Downloads/Satish.R/robot/wifi_client/wifiClientKey.private
Client Certificate File /home/naman/Downloads/Satish.R/robot/wifi_client/wifiClientKey.cer
Perform
Log Version
Log Http Response Status
Log Response
Log Response Headers

Maven plugin

Hi , I am looking to test restful api calls through robot framework.
Is this a suitable library to use. Also, how do i install this library through maven.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.