Search found 8 matches
- 11 Aug 2017, 09:04
- Forum: Ask for Help (v1)
- Topic: How to deal with a comma inside a column of a comma seperated file?
- Replies: 9
- Views: 1731
How to deal with a comma inside a column of a comma seperated file?
I've got a comma seperated file. One of the columns contains a variable with a comma inside. How can I deal with this? Example CSV file: Startdate,Enddate,Class,Candidate,Birthdate,Code "1-8-2017","31-7-2018","1L","Student 1126, Carol","24-4-2002","PEKZDAS7JT7E" "1-8-2017","31-7-2018","1L","Student ...
- 10 Aug 2017, 03:45
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
And yet another question :S Now I've got 8 keyfiles to read, but the startcodes.txt file contains 80 startcodes. After 8 startcodes all the keyfiles have been looped through and %A_Index% will continue to 9.txt, but this file doesn't exist. What should I do to reset the loop? I noticed that I can't ...
- 10 Aug 2017, 01:33
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
Thanks again. You've really helped me out!
- 09 Aug 2017, 14:33
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
Thanks for your help Guest :) I'm curious about your suggestion of using FileRead, so I've tried to read a tab limited file with three tabs. But when I want to display the third tab in a messagebox it shows tab3 of the current row and tab1 of the next row. I've noticed this is because there's no tab...
- 08 Aug 2017, 09:14
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
Thanks, but I'm not getting this to work. How would this work? I'm having this, but it's showing me the tabs one by one: Loop, read, Three Tabs.txt { Loop, parse, A_LoopReadLine, %A_Tab% { Parts:=StrSplit(A_LoopField,A_Tab) ; array / object MsgBox % Parts[1] "`n" Parts[2] "`n" Parts[3] } } How can I...
- 08 Aug 2017, 07:19
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
Yes it's working nicely. But I'm wondering if you can help me out with something else. My startcode.txt contains three tabs on each row, like: T1 N1 CODE1 T1 N2 CODE2 T2 N1 CODE3 T2 N2 CODE4 How can I read the file and use the first to tabs to determine which directory it should read the keys from? ...
- 07 Aug 2017, 09:03
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Re: Automated testing: read multiple txt files with keys, but execute one per loop
Wow! Thanks for helping Cerberus. This is exactly what I need. I'm so happy with this
And thanks for the tip. I've started to use a AutoHotKey editor
Dankjewel
And thanks for the tip. I've started to use a AutoHotKey editor
Dankjewel
- 04 Aug 2017, 04:29
- Forum: Ask for Help (v1)
- Topic: Automated testing: read multiple txt files with keys, but execute one per loop
- Replies: 12
- Views: 2115
Automated testing: read multiple txt files with keys, but execute one per loop
Hi guys, I'm using AHK for automated testing. I like it a lot and it's working with random test. Now I want to start automated testing based on reading text files. Here's what I've got so far: 1. Read one text file - startcode.txt 2. Read multiple text files containing the right keys in a directory ...