IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Test Discussion :

[Automatisation des tests] [Robot Framework]


Sujet :

Test

  1. #1
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut [Automatisation des tests] [Robot Framework]
    Bonjour.
    je n'ai pas trouvé de forum dédié à Robot Framework.
    J'essaye d'installer Robot Framework sur une machine qui tourne sous windows server 2012.
    J'ai installé Python 2.7.9 et je pensais que ça installerait pip en même temps, or lorsque je fais un pip -V, j'obtient un :
    C:\Users\Administrator>pip -V
    Fatal error in launcher: Unable to create process using '""C:\Program Files (x86)\Python27\python.exe"" "C:\Program Files (x86)\Python27\Scripts\pip.exe" -V'

    C:\Users\Administrator>python -V
    Python 2.7.9
    J'en déduis que pip n'est pas installé et je ne comprends pas comment le faire.
    Merci de votre aide.

  2. #2
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut installation pip et robot framework
    Bonjour.
    Je n'arrive toujours pas à installer pip et Robot framework.
    J'ai
    Code batch : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    D:\Python2.7.9>python --version
    Python 2.7.9
    Donc Python est installé. Je pensais que cette version intégrait pip mais il n'en ai rien, pas de pip :
    Code batch : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    D:\Python2.7.9>pip --version
    Fatal error in launcher: Unable to create process using '""C:\Program Files (x86)\Python27\python.exe"" "C:\Program Files (x86)\Python27\Scripts\pip.exe" --version'

    J'ai télécharger get-pip.py, je me positionne dans le répertoire où il se trouve, je tente :
    Code batch : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    D:\Python2.7.9>python get-pip.py
    D:\Python2.7.9>python.exe get-pip.py
    D:\Python2.7.9>python get-pip.py install
    Dans les 3 essais la même réponse :
    Code batch : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    Collecting install
      Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection
    .VerifiedHTTPSConnection object at 0x03B5A530>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/install/
      Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection
    .VerifiedHTTPSConnection object at 0x03216170>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/install/
      Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection
    .VerifiedHTTPSConnection object at 0x032162D0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/install/
      Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection
    .VerifiedHTTPSConnection object at 0x032162B0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/install/
      Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection
    .VerifiedHTTPSConnection object at 0x03216370>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)': /simple/install/
      Could not find a version that satisfies the requirement install (from versions: )
    No matching distribution found for install

    Si quelqu'un peut m'aider pour installer Robot Framework sur ma machine Windows (OS : Windows Server 2012 R2), je l'en remercie.

  3. #3
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut
    Finalement, j'ai télécharger robotframework ici et j'ai fait un
    python setup.py install lancé dans le répertoire où se trouve setup.py dans le répertoire robotframework-master téléchargé ici robotframework.

    par contre, j'ai toujours l'erreur de départ :
    Code batch : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
     
    C:\Program Files\jenkins\...>robot --outputdir reports D:\TEST_AUTO\Robot\Test.robot 
    'robot' is not recognized as an internal or external command,
    operable program or batch file.

  4. #4
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut
    Il me reste, je pense, un problème à régler : comment installer robotframework-seleniumlibrary sans connexion internet ?

  5. #5
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut
    Bonjour.

    Lorsque je lance le setup.py pour installer Robot Framework, il cherche à se connecter à 2 url.
    Y a t-il un moyen de contourner le problème ?

  6. #6
    Membre averti
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Juin 2014
    Messages
    744
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 58
    Localisation : France, Var (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Juin 2014
    Messages : 744
    Points : 336
    Points
    336
    Par défaut
    Finalement, j'ai chunté mon proxy.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. [Web][BadBoy] Automatisation des tests
    Par ninox_ dans le forum Outils
    Réponses: 2
    Dernier message: 26/08/2009, 16h26
  2. logiciel pour automatiser des tests sur IHM
    Par aniz55 dans le forum IHM
    Réponses: 1
    Dernier message: 19/10/2007, 15h56
  3. automatisation des tests fonctionnels
    Par walid_i dans le forum Général Python
    Réponses: 1
    Dernier message: 16/05/2007, 19h31
  4. automatisation des tests fonctionnels
    Par walid_i dans le forum Tests et Performance
    Réponses: 15
    Dernier message: 16/05/2007, 18h50
  5. [QC9][VBscript]Automatisation des tests SAP
    Par cladsam dans le forum SAP
    Réponses: 2
    Dernier message: 10/05/2007, 13h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo